From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.1.1
PHP Bug Type:     Compile Failure
Bug description:  Function with passing by reference crash if passing by value

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 bug report at http://bugs.php.net/?id=15977&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15977&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15977&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15977&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15977&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15977&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15977&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15977&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15977&r=submittedtwice

Reply via email to