mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 02:37:22 +01:00
Update Base.php to include 'mysql_*' in the list of restricted functions
This commit is contained in:
@ -27,6 +27,20 @@ final class Base extends AbstractPreset
|
|||||||
'var_dump',
|
'var_dump',
|
||||||
'phpinfo',
|
'phpinfo',
|
||||||
'echo',
|
'echo',
|
||||||
|
'mysql_connect',
|
||||||
|
'mysql_pconnect',
|
||||||
|
'mysql_query',
|
||||||
|
'mysql_select_db',
|
||||||
|
'mysql_fetch_array',
|
||||||
|
'mysql_fetch_assoc',
|
||||||
|
'mysql_fetch_object',
|
||||||
|
'mysql_fetch_row',
|
||||||
|
'mysql_num_rows',
|
||||||
|
'mysql_affected_rows',
|
||||||
|
'mysql_free_result',
|
||||||
|
'mysql_insert_id',
|
||||||
|
'mysql_error',
|
||||||
|
'mysql_real_escape_string',
|
||||||
'print',
|
'print',
|
||||||
'print_r',
|
'print_r',
|
||||||
'var_export',
|
'var_export',
|
||||||
|
|||||||
Reference in New Issue
Block a user