#25273 [NEW]: Seg. fault when specifying class name and passing parameter by reference.

From: Date: Wed, 27 Aug 2003 15:01:25 +0000
Subject: #25273 [NEW]: Seg. fault when specifying class name and passing parameter by reference.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-46761@lists.php.net to get a copy of this message
From: dizza at students dot ru Operating system: FreeBSD 5.1 PHP version: 5.0.0b1 (beta1) PHP Bug Type: Zend Engine 2 problem Bug description: Seg. fault when specifying class name and passing parameter by reference. Description: ------------ When specifying class name in the function parameter list and pass parameter by reference it causes segmentation fault. Reproduce code: --------------- include_once "ClassName.php" function test( ClassName &cn ) { } $cn = new ClassName(); test( $cn ); Expected result: ---------------- segmentation fault -- Edit bug report at http://bugs.php.net/?id=25273&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25273&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25273&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25273&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25273&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25273&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25273&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25273&r=support Expected behavior: http://bugs.php.net/fix.php?id=25273&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25273&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25273&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25273&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25273&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25273&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25273&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25273&r=gnused

« previous php.bugs (#46761) next »