Add Safe PHP functions

This commit is contained in:
Alex Cabal 2019-03-07 12:11:50 -06:00
parent 04a956886a
commit 58cc098058
260 changed files with 49458 additions and 45 deletions

View file

@ -0,0 +1,15 @@
<?php
return [
'array_key_exists',
'is_executable',
'is_uploaded_file',
'stream_is_local',
'is_soap_fault',
// Type hints to object OCI-Lob (weird class that has a dash in its name!)
'oci_lob_copy',
'func_get_arg',
//'mktime', // 7th parameter has been removed in PHP 7
'call_user_func_array',
'mb_check_encoding',
'array_search',
];

View file

@ -0,0 +1,52 @@
<?php
return [
'apd',
'bbcode',
'bcompiler',
'cairo',
'chdb',
'classkit',
'crack',
'cyrus',
'dba',
'dbase',
'dbplus',
'dbx',
'dio',
'enchant',
'fam',
'fann',
'fbsql',
'fdf',
'filepro',
'fribidi',
'gupnp',
'id3',
'ifx',
'kadm5',
'maxdb',
'mcrypt',
'mhash',
'mnogosearch',
'ncurses',
'newt',
'nis',
'nsapi',
'openal',
'paradox',
'proctitle',
'radius',
'rpmreader',
'runkit',
'session_pgsql',
'snmp',
'sqlite',
'suhosin',
'svn',
'sybase',
'tidy',
'wddx',
'win32ps',
'wincache',
'xattr',
];

View file

@ -0,0 +1,12 @@
<?php
/**
* A list of functions that must be dealt with manually.
* They are declared in lib/special_cases.php
*/
return [
'json_decode',
'apc_fetch',
'apcu_fetch',
'preg_replace',
'openssl_encrypt',
];