ID:               15977
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Linux
 PHP Version:      4.1.1
 New Comment:

When I test your example I get

'Fatal error: Only variables can be passed by reference in - on line 2'


Previous Comments:
------------------------------------------------------------------------

[2002-03-09 19:56:45] [EMAIL PROTECTED]

I'm not asking for support, but PHP scripting engine should display
something informational, not just blank, really blank (0 byte in
return), just like a blackhole compiler.

------------------------------------------------------------------------

[2002-03-09 19:29:45] [EMAIL PROTECTED]

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php

------------------------------------------------------------------------

[2002-03-09 19:15:02] [EMAIL PROTECTED]

This is very weird, as my backgroud is delphi/pascal, function with
passing by reference is efficient for string parameter. PHP supports
this (?), but if we forget passing with value, (i think) compiler is
crash, nothing shown in the screen, even error_reporting set E_ALL.
Let's see modified sample from manual:

function foo (&$var)
{
        $var++;
}

foo(5);

Any clue ? TIA.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15977&edit=1

Reply via email to