-
Notifications
You must be signed in to change notification settings - Fork 52
/
functions.php
68 lines (68 loc) · 4.47 KB
/
functions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
$funcs = array('strlen' => array(null, 'string/strlen.cpp'),
'array' => array(null, 'arrays/array.cpp'),
'is_null' => array(null, 'base/is_null.cpp'),
'is_string' => array(null, 'base/is_string.cpp'),
'is_int' => array(null, 'base/is_int.cpp'),
'is_bool' => array(null, 'base/is_bool.cpp'),
'is_array' => array(null, 'base/is_array.cpp'),
'count' => array(null, 'arrays/count.cpp'),
'error_reporting' => array(null, 'errors/error_reporting.cpp'),
'substr' => array(null, 'string/substr.cpp'),
'unlink' => array('stdio.h', 'io/unlink.cpp'),
'strtolower' => array('stdio.h', 'string/strtolower.cpp'),
'explode' => array(null, array('arrays/array.cpp', 'string/explode.cpp')),
'implode' => array(null, 'arrays/implode.cpp'),
'fopen' => array('cstdio', 'io/fopen.cpp'),
'fread' => array('cstdio', 'io/fread.cpp'),
'is_resource' => array(null, 'base/is_resource.cpp'),
'file_get_contents' => array('stdio.h', 'io/file_get_contents.cpp'),
'file' => array('stdio.h', array('arrays/array.cpp', 'string/explode.cpp', 'arrays/count.cpp', 'string/file.cpp')),
'strstr' => array(null, 'string/strstr.cpp'),
'strpos' => array(null, 'string/strpos.cpp'),
'str_replace' => array(null, 'string/str_replace.cpp'),
'str_repeat' => array(null, 'string/str_repeat.cpp'),
'fclose' => array('cstdio', 'io/fclose.cpp'),
'fwrite' => array('cstdio', 'io/fwrite.cpp'),
'array_reverse' => array(null, 'arrays/array_reverse.cpp'),
'in_array' => array(null, 'base/in_array.cpp'),
'shell_exec' => array(array('cstdio','cstdlib'), 'exec/shell_exec.cpp'),
'passthru' => array('cstdlib', 'exec/passthru.cpp'),
'var_dump' => array(array('cstdio','cstdlib'), 'base/var_dump.cpp'),
'define' => array(null, null),
'token_name' => array(null, 'tokenizer/token_name.cpp'),
'token_get_all' => array(null, 'tokenizer/token_get_all.cpp'),
'touch' => array(null, 'io/touch.cpp'),
'ksort' => array(null, 'arrays/ksort.cpp'),
'stristr' => array('stdio.h', array('string/strtolower.cpp', 'string/stristr.cpp')),
'ucwords' => array('stdio.h', array('arrays/array.cpp', 'arrays/explode.cpp', 'arrays/implode.cpp', 'string/ucwords.cpp')),
'ucfirst' => array('cstdio', 'string/ucfirst.cpp'),
'trim' => array(null, 'string/trim.cpp'),
'rtrim' => array(null, 'string/rtrim.cpp'),
'ltrim' => array(null, 'string/ltrim.cpp'),
'mysql_connect' => array('mysql/mysql.h', array('mysql/mysql.cpp', 'arrays/array.cpp', 'arrays/explode.cpp', 'mysql/mysql_connect.cpp'), 'mysqlclient'),
'mysql_select_db' => array('mysql/mysql.h', array('mysql/mysql.cpp', 'mysql/mysql_select_db.cpp'), 'mysqlclient'),
'mysql_query' => array('mysql/mysql.h', array('mysql/mysql.cpp', 'mysql/mysql_query.cpp'), 'mysqlclient'),
'mysql_fetch_row' => array('mysql/mysql.h', array('mysql/mysql.cpp', 'mysql/mysql_fetch_row.cpp'), 'mysqlclient'),
'mysql_fetch_array' => array('mysql/mysql.h', array('mysql/mysql.cpp', 'mysql/mysql_fetch_array.cpp'), 'mysqlclient'),
'mysql_error' => array('mysql/mysql.h', array('mysql/mysql.cpp', 'mysql/mysql_error.cpp'), 'mysqlclient'),
'socket_create' => array('sys/socket.h', 'sockets/socket_create.cpp'),
'socket_connect' => array(array('sys/socket.h', 'netinet/in.h', 'arpa/inet.h', 'netdb.h'), 'sockets/socket_connect.cpp'),
'socket_write' => array('unistd.h', 'sockets/socket_write.cpp'),
'socket_read' => array(null, 'sockets/socket_read.cpp'),
'opendir' => array(array('cstdio', 'dirent.h'), 'opendir.cpp'),
'readdir' => array(array('cstdio', 'dirent.h'), 'readdir.cpp'),
'closedir' => array(array('cstdio', 'dirent.h'), 'closedir.cpp'),
'glClear' => array(array('GL/gl.h', 'GL/glu.h'), null, array('GLU', 'GL', 'glut')),
'glutWireCube' => array('GL/glut.h', null, array('GLU', 'GL', 'glut')),
'glLightfv' => array(array('GL/gl.h', 'GL/glu.h'), 'glu/glLightfv.cpp'),
'glutInit' => array(array('GL/gl.h', 'GL/glu.h', 'GL/glut.h'), 'glut/glutInit.cpp', array('GLU', 'GL', 'glut')),
'glutReshapeFunc' => array(array('GL/gl.h', 'GL/glu.h', 'GL/glut.h'), 'glut/glutReshapeFunc.cpp'),
'glutMouseFunc' => array(array('GL/gl.h', 'GL/glu.h', 'GL/glut.h'), 'glut/glutMouseFunc.cpp'),
'glutMotionFunc' => array(array('GL/gl.h', 'GL/glu.h', 'GL/glut.h'), 'glut/glutMotionFunc.cpp'),
'glutButtonBoxFunc' => array(array('GL/gl.h', 'GL/glu.h', 'GL/glut.h'), 'glut/glutButtonBoxFunc.cpp'),
'glutKeyboardFunc' => array(array('GL/gl.h', 'GL/glu.h', 'GL/glut.h'), 'glut/glutKeyboardFunc.cpp'),
'glutCreateMenu' => array(array('GL/gl.h', 'GL/glu.h', 'GL/glut.h'), 'glut/glutCreateMenu.cpp'),
null
);
?>