summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dfaba4e)
raw | patch | inline | side by side (parent: dfaba4e)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 21 Oct 2005 11:26:30 +0000 (11:26 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 21 Oct 2005 11:26:30 +0000 (11:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1653 594d385d-05f5-0310-b6e9-bd551577e9d8
gen_function_list.php | patch | blob | history | |
include/functions_list.inc | patch | blob | history |
diff --git a/gen_function_list.php b/gen_function_list.php
index 9f828273185131f9918ba838313a242dbe3f7e18..c04d2e3d1538ca82961905e729bd63fd977e1356 100755 (executable)
--- a/gen_function_list.php
+++ b/gen_function_list.php
-#!/usr/bin/php4 -q
+#!/usr/bin/php -q
<?php
/*
/*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-include('include/functions_test.inc');
+$current_dir=trim(`pwd`);
+include($current_dir.'/include/functions_test.inc');
// Build Array of called functions
-$array= test_defined_functions('./');
+$array= test_defined_functions();
// Write List to file
-$file= 'include/functions_list.inc';
+$file= $current_dir.'/include/functions_list.inc';
// If file does not exist, create it
if(!file_exists($file)) {
index 08df4cc0b7537a36412e3a29ba2e5b3323bdb8e1..c3af95bb9ac4c87cc2711ac7817c5ded43e87974 100644 (file)
2 => 'fwrite',
3 => 'var_export',
4 => 'fclose',
- 5 => 'print_r',
- 6 => 'fread',
- 7 => 'filesize',
- 8 => 'header',
- 9 => 'session_start',
- 10 => 'error_reporting',
- 11 => 'putenv',
- 12 => 'setlocale',
- 13 => 'bindtextdomain',
- 14 => 'textdomain',
- 15 => 'sprintf',
- 16 => 'str_replace',
- 17 => 'gmdate',
- 18 => 'imageAlphaBlending',
- 19 => 'imageSaveAlpha',
- 20 => 'imagesx',
- 21 => 'imagesy',
- 22 => 'imagecopy',
- 23 => 'imagePng',
- 24 => 'mysql_pconnect',
- 25 => 'mysql_select_db',
- 26 => 'mysql_query',
- 27 => 'mysql_fetch_array',
- 28 => 'mysql_result',
- 29 => 'mysql_close',
- 30 => 'tempnam',
- 31 => 'popen',
- 32 => 'pclose',
- 33 => 'unlink',
- 34 => 'imagick_blob2image',
- 35 => 'imagick_image2blob',
- 36 => 'preg_match',
- 37 => 'base64_decode',
- 38 => 'preg_replace',
- 39 => 'srand',
- 40 => 'strlen',
- 41 => 'date',
- 42 => 'preg_split',
- 43 => 'trim',
- 44 => 'chr',
- 45 => 'chunk_split',
- 46 => 'is_dir',
- 47 => 'is_writable',
- 48 => 'session_destroy',
- 49 => 'substr',
- 50 => 'tidy_parse_string',
- 51 => 'tidy_clean_repair',
- 52 => 'tidy_error_count',
- 53 => 'tidy_warning_count',
- 54 => 'nl2br',
- 55 => 'intval',
- 56 => 'ImageFontWidth',
- 57 => 'ImageFontHeight',
- 58 => 'imagecolorallocate',
- 59 => 'imagerectangle',
- 60 => 'imagefilledrectangle',
- 61 => 'imagestring',
- 62 => 'imagepng',
- 63 => 'imagedestroy',
- 64 => 'is_int',
- 65 => 'session_id',
- 66 => 'debug_backtrace',
- 67 => 'htmlentities',
- 68 => 'flush',
- 69 => 'dirname',
- 70 => 'set_error_handler',
- 71 => 'ini_set',
- 72 => 'define',
- 73 => 'chdir',
- 74 => 'opendir',
- 75 => 'readdir',
- 76 => 'closedir',
- 77 => 'explode',
- 78 => 'microtime',
- 79 => 'split',
- 80 => 'strtoupper',
- 81 => 'syslog',
- 82 => 'md5',
- 83 => 'arsort',
- 84 => 'reset',
- 85 => 'ltrim',
- 86 => 'strstr',
- 87 => 'rtrim',
- 88 => 'array_flip',
- 89 => 'preg_quote',
- 90 => 'func_get_args',
- 91 => 'cups_get_dest_list',
- 92 => 'cups_get_printer_attributes',
- 93 => 'exec',
- 94 => 'session_unregister',
- 95 => 'pow',
- 96 => 'key',
- 97 => 'current',
- 98 => 'array_merge',
- 99 => 'strtolower',
- 100 => 'mt_srand',
- 101 => 'mt_rand',
- 102 => 'mb_substr',
- 103 => 'is_link',
- 104 => 'sort',
- 105 => 'array_reverse',
- 106 => 'is_readable',
- 107 => 'is_file',
- 108 => 'dechex',
- 109 => 'crypt',
- 110 => 'imap_close',
- 111 => 'is_array',
- 112 => 'imap_listmailbox',
- 113 => 'imap_utf7_decode',
- 114 => 'imap_last_error',
- 115 => 'imap_getacl',
- 116 => 'imap_setacl',
- 117 => 'strpos',
- 118 => 'is_integer',
- 119 => 'implode',
- 120 => 'file',
- 121 => 'get_class_vars',
- 122 => 'array_keys',
- 123 => 'stripcslashes',
- 124 => 'get_class',
- 125 => 'ldap_connect',
- 126 => 'ldap_set_option',
- 127 => 'ldap_set_rebind_proc',
- 128 => 'ldap_get_values_len',
- 129 => 'ldap_unbind',
- 130 => 'asort',
- 131 => 'xml_parser_create',
- 132 => 'xml_set_object',
- 133 => 'xml_set_element_handler',
- 134 => 'chop',
- 135 => 'xml_error_string',
- 136 => 'xml_get_current_line_number',
- 137 => 'function_exists',
- 138 => 'sha1',
- 139 => 'base64_encode',
- 140 => 'get_declared_classes',
- 141 => 'escapeshellarg',
- 142 => 'kadm5_init_with_password',
- 143 => 'kadm5_chpass_principal',
- 144 => 'kadm5_destroy',
- 145 => 'printf',
- 146 => 'hexdec',
- 147 => 'recode',
- 148 => 'iconv',
- 149 => 'ord',
- 150 => 'uniqid',
- 151 => 'htmlspecialchars',
- 152 => 'serialize',
- 153 => 'gettype',
- 154 => 'get_object_vars',
- 155 => 'is_object',
- 156 => 'mysql_num_fields',
- 157 => 'mysql_field_name',
- 158 => 'mysql_data_seek',
- 159 => 'preg_match_all',
- 160 => 'ldap_bind',
- 161 => 'ldap_read',
- 162 => 'ldap_get_entries',
- 163 => 'version_compare',
- 164 => 'is_callable',
- 165 => 'shell_exec',
- 166 => 'system',
- 167 => 'ini_get',
- 168 => 'posix_getgrgid',
- 169 => 'time',
- 170 => 'stat',
- 171 => 'array_slice',
- 172 => 'ksort',
- 173 => 'strip_tags',
- 174 => 'getcwd',
- 175 => 'fgets',
+ 5 => 'header',
+ 6 => 'session_start',
+ 7 => 'error_reporting',
+ 8 => 'putenv',
+ 9 => 'setlocale',
+ 10 => 'bindtextdomain',
+ 11 => 'textdomain',
+ 12 => 'sprintf',
+ 13 => 'str_replace',
+ 14 => 'gmdate',
+ 15 => 'imageAlphaBlending',
+ 16 => 'imageSaveAlpha',
+ 17 => 'imagesx',
+ 18 => 'imagesy',
+ 19 => 'imagecopy',
+ 20 => 'imagePng',
+ 21 => 'mysql_pconnect',
+ 22 => 'mysql_select_db',
+ 23 => 'mysql_query',
+ 24 => 'mysql_fetch_array',
+ 25 => 'mysql_result',
+ 26 => 'mysql_close',
+ 27 => 'tempnam',
+ 28 => 'popen',
+ 29 => 'fread',
+ 30 => 'pclose',
+ 31 => 'unlink',
+ 32 => 'imagick_blob2image',
+ 33 => 'imagick_image2blob',
+ 34 => 'preg_match',
+ 35 => 'base64_decode',
+ 36 => 'preg_replace',
+ 37 => 'srand',
+ 38 => 'strlen',
+ 39 => 'date',
+ 40 => 'preg_split',
+ 41 => 'trim',
+ 42 => 'chr',
+ 43 => 'chunk_split',
+ 44 => 'is_dir',
+ 45 => 'is_writable',
+ 46 => 'session_destroy',
+ 47 => 'substr',
+ 48 => 'tidy_parse_string',
+ 49 => 'tidy_clean_repair',
+ 50 => 'tidy_error_count',
+ 51 => 'tidy_warning_count',
+ 52 => 'nl2br',
+ 53 => 'intval',
+ 54 => 'ImageFontWidth',
+ 55 => 'ImageFontHeight',
+ 56 => 'imagecolorallocate',
+ 57 => 'imagerectangle',
+ 58 => 'imagefilledrectangle',
+ 59 => 'imagestring',
+ 60 => 'imagepng',
+ 61 => 'imagedestroy',
+ 62 => 'is_int',
+ 63 => 'session_id',
+ 64 => 'imap_close',
+ 65 => 'is_array',
+ 66 => 'imap_listmailbox',
+ 67 => 'imap_utf7_decode',
+ 68 => 'imap_last_error',
+ 69 => 'imap_getacl',
+ 70 => 'imap_setacl',
+ 71 => 'rtrim',
+ 72 => 'strpos',
+ 73 => 'is_integer',
+ 74 => 'implode',
+ 75 => 'file',
+ 76 => 'opendir',
+ 77 => 'time',
+ 78 => 'readdir',
+ 79 => 'strstr',
+ 80 => 'filesize',
+ 81 => 'stat',
+ 82 => 'asort',
+ 83 => 'closedir',
+ 84 => 'split',
+ 85 => 'preg_match_all',
+ 86 => 'array_reverse',
+ 87 => 'array_slice',
+ 88 => 'ksort',
+ 89 => 'dechex',
+ 90 => 'htmlentities',
+ 91 => 'strip_tags',
+ 92 => 'stripcslashes',
+ 93 => 'get_class',
+ 94 => 'exec',
+ 95 => 'ldap_connect',
+ 96 => 'ldap_set_option',
+ 97 => 'ldap_set_rebind_proc',
+ 98 => 'ldap_get_values_len',
+ 99 => 'ldap_unbind',
+ 100 => 'reset',
+ 101 => 'ldap_bind',
+ 102 => 'ldap_read',
+ 103 => 'ldap_get_entries',
+ 104 => 'array_flip',
+ 105 => 'version_compare',
+ 106 => 'is_callable',
+ 107 => 'shell_exec',
+ 108 => 'function_exists',
+ 109 => 'system',
+ 110 => 'ini_get',
+ 111 => 'posix_getgrgid',
+ 112 => 'crypt',
+ 113 => 'strtolower',
+ 114 => 'get_declared_classes',
+ 115 => 'mt_srand',
+ 116 => 'microtime',
+ 117 => 'escapeshellarg',
+ 118 => 'flush',
+ 119 => 'current',
+ 120 => 'printf',
+ 121 => 'print_r',
+ 122 => 'kadm5_init_with_password',
+ 123 => 'kadm5_chpass_principal',
+ 124 => 'kadm5_destroy',
+ 125 => 'base64_encode',
+ 126 => 'sha1',
+ 127 => 'define',
+ 128 => 'getcwd',
+ 129 => 'array_merge',
+ 130 => 'chdir',
+ 131 => 'fgets',
+ 132 => 'debug_backtrace',
+ 133 => 'dirname',
+ 134 => 'set_error_handler',
+ 135 => 'ini_set',
+ 136 => 'uniqid',
+ 137 => 'htmlspecialchars',
+ 138 => 'serialize',
+ 139 => 'hexdec',
+ 140 => 'gettype',
+ 141 => 'get_object_vars',
+ 142 => 'is_object',
+ 143 => 'mysql_num_fields',
+ 144 => 'mysql_field_name',
+ 145 => 'mysql_data_seek',
+ 146 => 'explode',
+ 147 => 'strtoupper',
+ 148 => 'syslog',
+ 149 => 'md5',
+ 150 => 'arsort',
+ 151 => 'ltrim',
+ 152 => 'preg_quote',
+ 153 => 'func_get_args',
+ 154 => 'cups_get_dest_list',
+ 155 => 'cups_get_printer_attributes',
+ 156 => 'session_unregister',
+ 157 => 'pow',
+ 158 => 'key',
+ 159 => 'mt_rand',
+ 160 => 'mb_substr',
+ 161 => 'is_link',
+ 162 => 'sort',
+ 163 => 'is_readable',
+ 164 => 'is_file',
+ 165 => 'get_class_vars',
+ 166 => 'array_keys',
+ 167 => 'xml_parser_create',
+ 168 => 'xml_set_object',
+ 169 => 'xml_set_element_handler',
+ 170 => 'chop',
+ 171 => 'xml_error_string',
+ 172 => 'xml_get_current_line_number',
+ 173 => 'recode',
+ 174 => 'iconv',
+ 175 => 'ord',
176 => 'call_user_func_array',
177 => 'array_unique',
178 => 'usort',
229 => 'array_search',
230 => 'array_key_exists',
231 => 'mysql_error',
- 232 => 'utf8_encode',
- 233 => 'file_get_contents',
- 234 => 'stripslashes',
- 235 => 'natcasesort',
- 236 => 'uasort',
- 237 => 'strcasecmp',
- 238 => 'rand',
- 239 => 'imagick_ReadImage',
- 240 => 'imagick_free',
- 241 => 'strrchr',
- 242 => 'sleep',
- 243 => 'array_chunk',
- 244 => 'natsort',
- 245 => 'pg_connect',
- 246 => 'pg_exec',
- 247 => 'pg_close',
- 248 => 'pg_set_client_encoding',
- 249 => 'pg_free_result',
- 250 => 'getdate',
- 251 => 'is_uploaded_file',
- 252 => 'ldap_start_tls',
- 253 => 'ldap_mod_del',
- 254 => 'ldap_close',
- 255 => 'kadm5_get_principals',
- 256 => 'kadm5_delete_principal',
- 257 => 'kadm5_create_principal',
- 258 => 'join',
+ 232 => 'stripslashes',
+ 233 => 'ldap_start_tls',
+ 234 => 'utf8_encode',
+ 235 => 'is_string',
+ 236 => 'natcasesort',
+ 237 => 'rand',
+ 238 => 'uasort',
+ 239 => 'strcasecmp',
+ 240 => 'strrpos',
+ 241 => 'file_get_contents',
+ 242 => 'imagick_ReadImage',
+ 243 => 'imagick_free',
+ 244 => 'strrchr',
+ 245 => 'sleep',
+ 246 => 'array_chunk',
+ 247 => 'natsort',
+ 248 => 'pg_connect',
+ 249 => 'pg_exec',
+ 250 => 'pg_close',
+ 251 => 'pg_set_client_encoding',
+ 252 => 'pg_freeresult',
+ 253 => 'getdate',
+ 254 => 'is_uploaded_file',
+ 255 => 'ldap_mod_del',
+ 256 => 'ldap_close',
+ 257 => 'kadm5_get_principals',
+ 258 => 'kadm5_delete_principal',
+ 259 => 'kadm5_create_principal',
+ 260 => 'join',
));
\ No newline at end of file