1 2 3 4 5 6 7 8 9 10 11 12 13 14
--TEST-- Disable functions - shell_exec, with a non-existing command --SKIPIF-- <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/disabled_functions.ini --FILE-- <?php $gs = exec( 'foo' ); echo "YES"; ?> --EXPECTF-- %snot found YES