ID: 22790 User updated by: jasonzig at mac dot com Reported By: jasonzig at mac dot com Status: Open Bug Type: Scripting Engine problem Operating System: MacOSX 10.2.4 & Redhat Linux PHP Version: 4.3.0 New Comment:
This seems to be a problem only when the function parameter is named "debug". This definitely was not a problem in previous versions of PHP. Previous Comments: ------------------------------------------------------------------------ [2003-03-19 14:12:16] jasonzig at mac dot com FUNCTION PageMover ($command, $currentSurveyTemplateID, $surveyTrackcer, $debug='BOO') { echo "<hr>BEGIN FUNCTION PageMover()<br>" ; echo "debug = " . $debug . "<br>"; echo "END FUNCTION PageMover()<hr>" ; } Calling this function without overwriting the $debug parameter will result in this output: BEGIN FUNCTION PageMover() debug = END FUNCTION PageMover() In my previous version of PHP (4.2.3), this resulted in setting "debug" to "BOO". ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22790&edit=1