ID: 38215
User updated by: php at elitecoders dot com
Reported By: php at elitecoders dot com
Status: Wont fix
Bug Type: Scripting Engine problem
Operating System: CentOS
PHP Version: 4.4.2
New Comment:
When I ran the code it resulted in a completely blank
window. Also blank when I viewed the source - No errors,
nothing at all.
If I had gotten a parse error I would have re-written the
code without posting a bug report.
Since you've gotten a parse error out of it though, I'll
have to assume that; for some reason, the server I was
testing on has php configured to not warn of parse errors.
Previous Comments:
------------------------------------------------------------------------
[2006-07-26 07:07:29] [EMAIL PROTECTED]
Parse error: syntax error, unexpected '=', expecting ')'
You have to update your PHP version if you want to use this syntax.
------------------------------------------------------------------------
[2006-07-26 05:32:29] php at elitecoders dot com
Description:
------------
When a function argument list contains a variable reference
which has a default value, there is no output. It may be
because of a crash, but I was unable to test for that because
I don't have access to the log files.
This reproduce code works as expected in php 5.
Reproduce code:
---------------
<?php
function exec_bug(&$var_ref = NULL) {
}
echo "working.";
?>
Expected result:
----------------
working.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38215&edit=1