#31651 [Opn->Asn]: ReflectionClass::getDefaultProperties segfaults with arrays.

From: Date: Sat, 22 Jan 2005 11:46:33 +0000
Subject: #31651 [Opn->Asn]: ReflectionClass::getDefaultProperties segfaults with arrays.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72656@lists.php.net to get a copy of this message
ID: 31651 Updated by: helly@php.net Reported By: alan_k@php.net -Status: Open +Status: Assigned Bug Type: Zend Engine 2 problem -Operating System: linux +Operating System: * -PHP Version: 4CVS-2005-01-22 (stable) +PHP Version: 5.0.3 -Assigned To: +Assigned To: helly Previous Comments: ------------------------------------------------------------------------ [2005-01-22 04:16:24] alan_k@php.net Description: ------------ example / title pretty much covers it :) Reproduce code: --------------- php -r 'class a { var $a=array('a'=>1); } $c = new ReflectionClass("a"); print_r($c->getdefaultProperties());' Expected result: ---------------- Array ( [a] => Array ( [a] => 1 ) ) Actual result: -------------- Array ( [a] => Segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31651&edit=1

« previous php.bugs (#72656) next »