Commit ae3a31e1 authored by Felix Flor's avatar Felix Flor

the list of all php functions are deleted. added some data sources for php modules and constants.

parent cd101bd0
<?php
$neededModules = array( 'base','pcntl','session','sysvmsg' );
$neededModules = array( 'base','posix','pcntl','sysvmsg','openssl','mcrypt' );
$neddedModulesInstallStatus = array();
$neededFunctions = array( 'strlen','pcntl_wait','session_id','msg_set_queue' );
$neededFunctions = array( 'is_dir','is_file','is_readable','posix_getppid','unserialize','is_callable','tempnam','sys_get_temp_dir','file_put_contents','get_class','serialize','define','is_string','pcntl_signal','array_pop','pcntl_fork','posix_getpid','pcntl_waitpid','is_null','usleep','pcntl_wait','is_int','get_defined_functions','array_diff','fnmatch','posix_kill','is_array','array_key_exists','var_export','debug_backtrace','strtolower','create_function','count','msg_send','msg_receive','msg_stat_queue','is_resource','msg_get_queue','msg_remove_queue','gettype','function_exists','openssl_random_pseudo_bytes','bin2hex','mcrypt_create_iv','md5','uniqid','call_user_func_array','array_merge','strlen','ini_get','spl_autoload_register','spl_autoload_unregister','defined','strtr','strrpos','substr','file_exists','strpos','stream_resolve_include_path','dirname','call_user_func' );
$neededFunctionsInstallStatus = array();
foreach($neededModules as $neededModule){
......@@ -41,29 +41,18 @@ if(in_array(false, $neededFunctionsInstallStatus)){
echo "<b>All needed Functions are installed.</b>";
}
echo "</p>";
echo "<b>List of Modules</b>";
echo '<table border="1">';
echo "<tr><th>Module</th><th>Installed</th></tr>";
echo "<b>List of available Modules</b>";
echo "<ul>";
foreach($neddedModulesInstallStatus as $module => $moduleStatus){
if($moduleStatus){
$status = "yes";
} else {
$status = "no";
}
echo"<tr><td>$module</td><td>$status</td></tr>";
if(!$moduleStatus)
echo "<li>$module</li>";
}
echo "</table>";
echo "<br>";
echo "<b>List of Functions</b>";
echo '<table border="1">';
echo "<tr><th>Function</th><th>Installed</th></tr>";
echo "</ul>";
echo "<b>List of not available Functions</b>";
echo "<ul>";
foreach($neededFunctionsInstallStatus as $function => $functionStatus){
if($functionStatus){
$status = "yes";
} else {
$status = "no";
}
echo"<tr><td>$function</td><td>$status</td></tr>";
if(!$functionStatus)
echo "<li>$function</li>";
}
echo "</ul>";
This diff is collapsed.
......@@ -39,6 +39,7 @@ function consoleFullOutput(array $filesToCheck) : void {
$installStatus = isModuleForFunctionInstalledAsString($token[1]);
/*
* $token[0] : number of token
* $token[1] : name of the function
* $token[2] : the row of the file where function is found
*/
......
<?php
return array (
'MemcachePool' => 'memcache',
'Memcache' => 'memcache',
'PharException' => 'phar',
'Phar' => 'phar',
'PharData' => 'phar',
'PharFileInfo' => 'phar',
'XMLReader' => 'xmlreader',
'XSLTProcessor' => 'xsl',
'stdClass' => 'core',
'Exception' => 'core',
'ErrorException' => 'core',
'Error' => 'core',
'ParseError' => 'core',
'TypeError' => 'core',
'ArgumentCountError' => 'core',
'ArithmeticError' => 'core',
'DivisionByZeroError' => 'core',
'Closure' => 'core',
'Generator' => 'core',
'ClosedGeneratorException' => 'core',
'DateTime' => 'core',
'DateTimeImmutable' => 'core',
'DateTimeZone' => 'core',
'DateInterval' => 'core',
'DatePeriod' => 'core',
'LibXMLError' => 'core',
'ReflectionException' => 'core',
'Reflection' => 'core',
'ReflectionFunctionAbstract' => 'core',
'ReflectionFunction' => 'core',
'ReflectionGenerator' => 'core',
'ReflectionParameter' => 'core',
'ReflectionType' => 'core',
'ReflectionNamedType' => 'core',
'ReflectionMethod' => 'core',
'ReflectionClass' => 'core',
'ReflectionObject' => 'core',
'ReflectionProperty' => 'core',
'ReflectionClassConstant' => 'core',
'ReflectionExtension' => 'core',
'ReflectionZendExtension' => 'core',
'LogicException' => 'core',
'BadFunctionCallException' => 'core',
'BadMethodCallException' => 'core',
'DomainException' => 'core',
'InvalidArgumentException' => 'core',
'LengthException' => 'core',
'OutOfRangeException' => 'core',
'RuntimeException' => 'core',
'OutOfBoundsException' => 'core',
'OverflowException' => 'core',
'RangeException' => 'core',
'UnderflowException' => 'core',
'UnexpectedValueException' => 'core',
'RecursiveIteratorIterator' => 'core',
'IteratorIterator' => 'core',
'FilterIterator' => 'core',
'RecursiveFilterIterator' => 'core',
'CallbackFilterIterator' => 'core',
'RecursiveCallbackFilterIterator' => 'core',
'ParentIterator' => 'core',
'LimitIterator' => 'core',
'CachingIterator' => 'core',
'RecursiveCachingIterator' => 'core',
'NoRewindIterator' => 'core',
'AppendIterator' => 'core',
'InfiniteIterator' => 'core',
'RegexIterator' => 'core',
'RecursiveRegexIterator' => 'core',
'EmptyIterator' => 'core',
'RecursiveTreeIterator' => 'core',
'ArrayObject' => 'core',
'ArrayIterator' => 'core',
'RecursiveArrayIterator' => 'core',
'SplFileInfo' => 'core',
'DirectoryIterator' => 'core',
'FilesystemIterator' => 'core',
'RecursiveDirectoryIterator' => 'core',
'GlobIterator' => 'core',
'SplFileObject' => 'core',
'SplTempFileObject' => 'core',
'SplDoublyLinkedList' => 'core',
'SplQueue' => 'core',
'SplStack' => 'core',
'SplHeap' => 'core',
'SplMinHeap' => 'core',
'SplMaxHeap' => 'core',
'SplPriorityQueue' => 'core',
'SplFixedArray' => 'core',
'SplObjectStorage' => 'core',
'MultipleIterator' => 'core',
'SessionHandler' => 'session',
'__PHP_Incomplete_Class' => 'core',
'php_user_filter' => 'core',
'Directory' => 'core',
'AssertionError' => 'core',
'CURLFile' => 'curl',
'DOMException' => 'dom',
'DOMStringList' => 'dom',
'DOMNameList' => 'dom',
'DOMImplementationList' => 'dom',
'DOMImplementationSource' => 'dom',
'DOMImplementation' => 'dom',
'DOMNode' => 'dom',
'DOMNameSpaceNode' => 'dom',
'DOMDocumentFragment' => 'dom',
'DOMDocument' => 'dom',
'DOMNodeList' => 'dom',
'DOMNamedNodeMap' => 'dom',
'DOMCharacterData' => 'dom',
'DOMAttr' => 'dom',
'DOMElement' => 'dom',
'DOMText' => 'dom',
'DOMComment' => 'dom',
'DOMTypeinfo' => 'dom',
'DOMUserDataHandler' => 'dom',
'DOMDomError' => 'dom',
'DOMErrorHandler' => 'dom',
'DOMLocator' => 'dom',
'DOMConfiguration' => 'dom',
'DOMCdataSection' => 'dom',
'DOMDocumentType' => 'dom',
'DOMNotation' => 'dom',
'DOMEntity' => 'dom',
'DOMEntityReference' => 'dom',
'DOMProcessingInstruction' => 'dom',
'DOMStringExtend' => 'dom',
'DOMXPath' => 'dom',
'finfo' => 'fileinfo',
'GMP' => 'gmp',
'Collator' => 'intl',
'NumberFormatter' => 'intl',
'Normalizer' => 'intl',
'Locale' => 'intl',
'MessageFormatter' => 'intl',
'IntlDateFormatter' => 'intl',
'ResourceBundle' => 'intl',
'Transliterator' => 'intl',
'IntlTimeZone' => 'intl',
'IntlCalendar' => 'intl',
'IntlGregorianCalendar' => 'intl',
'Spoofchecker' => 'intl',
'IntlException' => 'intl',
'IntlIterator' => 'intl',
'IntlBreakIterator' => 'intl',
'IntlRuleBasedBreakIterator' => 'intl',
'IntlCodePointBreakIterator' => 'intl',
'IntlPartsIterator' => 'intl',
'UConverter' => 'intl',
'IntlChar' => 'intl',
'mysqli_sql_exception' => 'mysqli',
'mysqli_driver' => 'mysqli',
'mysqli' => 'mysqli',
'mysqli_warning' => 'mysqli',
'mysqli_result' => 'mysqli',
'mysqli_stmt' => 'mysqli',
'PDOException' => 'pdo',
'PDO' => 'pdo',
'PDOStatement' => 'pdo',
'PDORow' => 'pdo',
'SimpleXMLElement' => 'simplexml',
'SimpleXMLIterator' => 'simplexml',
'SNMP' => 'snmp',
'SNMPException' => 'snmp',
'SoapClient' => 'soap',
'SoapVar' => 'soap',
'SoapServer' => 'soap',
'SoapFault' => 'soap',
'SoapParam' => 'soap',
'SoapHeader' => 'soap',
'SQLite3' => 'sqlite3',
'SQLite3Stmt' => 'sqlite3',
'SQLite3Result' => 'sqlite3',
'tidy' => 'tidy',
'tidyNode' => 'tidy',
'XMLWriter' => 'xmlwriter',
'ZipArchive' => 'zip',
);
\ No newline at end of file
<?php
return array (
0 => 'stdClass',
1 => 'Exception',
2 => 'ErrorException',
3 => 'Error',
4 => 'ParseError',
5 => 'TypeError',
6 => 'ArgumentCountError',
7 => 'ArithmeticError',
8 => 'DivisionByZeroError',
9 => 'Closure',
10 => 'Generator',
11 => 'ClosedGeneratorException',
12 => 'DateTime',
13 => 'DateTimeImmutable',
14 => 'DateTimeZone',
15 => 'DateInterval',
16 => 'DatePeriod',
17 => 'LibXMLError',
18 => 'ReflectionException',
19 => 'Reflection',
20 => 'ReflectionFunctionAbstract',
21 => 'ReflectionFunction',
22 => 'ReflectionGenerator',
23 => 'ReflectionParameter',
24 => 'ReflectionType',
25 => 'ReflectionNamedType',
26 => 'ReflectionMethod',
27 => 'ReflectionClass',
28 => 'ReflectionObject',
29 => 'ReflectionProperty',
30 => 'ReflectionClassConstant',
31 => 'ReflectionExtension',
32 => 'ReflectionZendExtension',
33 => 'LogicException',
34 => 'BadFunctionCallException',
35 => 'BadMethodCallException',
36 => 'DomainException',
37 => 'InvalidArgumentException',
38 => 'LengthException',
39 => 'OutOfRangeException',
40 => 'RuntimeException',
41 => 'OutOfBoundsException',
42 => 'OverflowException',
43 => 'RangeException',
44 => 'UnderflowException',
45 => 'UnexpectedValueException',
46 => 'RecursiveIteratorIterator',
47 => 'IteratorIterator',
48 => 'FilterIterator',
49 => 'RecursiveFilterIterator',
50 => 'CallbackFilterIterator',
51 => 'RecursiveCallbackFilterIterator',
52 => 'ParentIterator',
53 => 'LimitIterator',
54 => 'CachingIterator',
55 => 'RecursiveCachingIterator',
56 => 'NoRewindIterator',
57 => 'AppendIterator',
58 => 'InfiniteIterator',
59 => 'RegexIterator',
60 => 'RecursiveRegexIterator',
61 => 'EmptyIterator',
62 => 'RecursiveTreeIterator',
63 => 'ArrayObject',
64 => 'ArrayIterator',
65 => 'RecursiveArrayIterator',
66 => 'SplFileInfo',
67 => 'DirectoryIterator',
68 => 'FilesystemIterator',
69 => 'RecursiveDirectoryIterator',
70 => 'GlobIterator',
71 => 'SplFileObject',
72 => 'SplTempFileObject',
73 => 'SplDoublyLinkedList',
74 => 'SplQueue',
75 => 'SplStack',
76 => 'SplHeap',
77 => 'SplMinHeap',
78 => 'SplMaxHeap',
79 => 'SplPriorityQueue',
80 => 'SplFixedArray',
81 => 'SplObjectStorage',
82 => 'MultipleIterator',
83 => 'SessionHandler',
84 => '__PHP_Incomplete_Class',
85 => 'php_user_filter',
86 => 'Directory',
87 => 'AssertionError',
88 => 'CURLFile',
89 => 'DOMException',
90 => 'DOMStringList',
91 => 'DOMNameList',
92 => 'DOMImplementationList',
93 => 'DOMImplementationSource',
94 => 'DOMImplementation',
95 => 'DOMNode',
96 => 'DOMNameSpaceNode',
97 => 'DOMDocumentFragment',
98 => 'DOMDocument',
99 => 'DOMNodeList',
100 => 'DOMNamedNodeMap',
101 => 'DOMCharacterData',
102 => 'DOMAttr',
103 => 'DOMElement',
104 => 'DOMText',
105 => 'DOMComment',
106 => 'DOMTypeinfo',
107 => 'DOMUserDataHandler',
108 => 'DOMDomError',
109 => 'DOMErrorHandler',
110 => 'DOMLocator',
111 => 'DOMConfiguration',
112 => 'DOMCdataSection',
113 => 'DOMDocumentType',
114 => 'DOMNotation',
115 => 'DOMEntity',
116 => 'DOMEntityReference',
117 => 'DOMProcessingInstruction',
118 => 'DOMStringExtend',
119 => 'DOMXPath',
120 => 'finfo',
121 => 'GMP',
122 => 'Collator',
123 => 'NumberFormatter',
124 => 'Normalizer',
125 => 'Locale',
126 => 'MessageFormatter',
127 => 'IntlDateFormatter',
128 => 'ResourceBundle',
129 => 'Transliterator',
130 => 'IntlTimeZone',
131 => 'IntlCalendar',
132 => 'IntlGregorianCalendar',
133 => 'Spoofchecker',
134 => 'IntlException',
135 => 'IntlIterator',
136 => 'IntlBreakIterator',
137 => 'IntlRuleBasedBreakIterator',
138 => 'IntlCodePointBreakIterator',
139 => 'IntlPartsIterator',
140 => 'UConverter',
141 => 'IntlChar',
142 => 'mysqli_sql_exception',
143 => 'mysqli_driver',
144 => 'mysqli',
145 => 'mysqli_warning',
146 => 'mysqli_result',
147 => 'mysqli_stmt',
148 => 'PDOException',
149 => 'PDO',
150 => 'PDOStatement',
151 => 'PDORow',
152 => 'SimpleXMLElement',
153 => 'SimpleXMLIterator',
154 => 'SNMP',
155 => 'SNMPException',
156 => 'SoapClient',
157 => 'SoapVar',
158 => 'SoapServer',
159 => 'SoapFault',
160 => 'SoapParam',
161 => 'SoapHeader',
162 => 'SQLite3',
163 => 'SQLite3Stmt',
164 => 'SQLite3Result',
165 => 'tidy',
166 => 'tidyNode',
167 => 'XMLWriter',
168 => 'ZipArchive',
169 => 'MemcachePool',
170 => 'Memcache',
171 => 'PharException',
172 => 'Phar',
173 => 'PharData',
174 => 'PharFileInfo',
175 => 'XMLReader',
176 => 'XSLTProcessor',
);
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment