#25273 [Opn->Csd]: Seg. fault when specifying class name and passing parameter by reference.

From: Date: Sat, 29 Nov 2003 01:44:54 +0000
Subject: #25273 [Opn->Csd]: Seg. fault when specifying class name and passing parameter by reference.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51277@lists.php.net to get a copy of this message
ID: 25273 Updated by: sniper@php.net Reported By: dizza at students dot ru -Status: Open +Status: Closed Bug Type: Zend Engine 2 problem Operating System: FreeBSD 5.1 PHP Version: 5.0.0b1 (beta1) New Comment: Seems to work with latest CVS. Previous Comments: ------------------------------------------------------------------------ [2003-08-27 10:01:25] dizza at students dot ru 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 this bug report at http://bugs.php.net/?id=25273&edit=1

« previous php.bugs (#51277) next »