ID: 28784
Updated by: [EMAIL PROTECTED]
Reported By: dietrich dot ayala at foundstone dot com
-Status: Closed
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: windows xp
PHP Version: 4.3.7
New Comment:
User error -> Bogus
Previous Comments:
------------------------------------------------------------------------
[2004-06-14 23:57:32] dietrich dot ayala at foundstone dot com
user error. i have several versions of php on this box, and updated the
wrong php.ini.
sorry for the inconvenience, please close.
------------------------------------------------------------------------
[2004-06-14 23:48:12] [EMAIL PROTECTED]
Please double check the position of php.ini or if you made any typo in
it.
disable_functions works fine here on linux and windows.
------------------------------------------------------------------------
[2004-06-14 23:18:57] dietrich dot ayala at foundstone dot com
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 this bug report at http://bugs.php.net/?id=28784&edit=1