From: dietrich dot ayala at foundstone dot com
Operating system: windows xp
PHP version: 4.3.7
PHP Bug Type: *Configuration Issues
Bug description: php.ini: disable_functions does not work at all
Description:
------------
os: winxp
webserver: iis/fastcgi
i set the disable_functions option in php.ini to a value of:
call_user_func_array
then i restart iis, make sure no php.exe instances are running.
then i try my repro code below, and it works fine. it should not let me
use this function.
Reproduce code:
---------------
<?php
function test($arg)
{
echo $arg;
}
$arr = array('hello world');
call_user_func_array('test', $arr);
?>
Expected result:
----------------
should not let the user use the call_user_func_array function
Actual result:
--------------
prints "hello world"
--
Edit bug report at http://bugs.php.net/?id=28784&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28784&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28784&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28784&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28784&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28784&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28784&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28784&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28784&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28784&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28784&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28784&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28784&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28784&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28784&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28784&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28784&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28784&r=float