php-src/tests/lang/038.phpt fails on php-5.0.3

From: Date: Tue, 11 Jan 2005 09:39:26 +0000
Subject: php-src/tests/lang/038.phpt fails on php-5.0.3
Groups: php.internals 
Request: Send a blank email to internals+get-14335@lists.php.net to get a copy of this message
Hi All, php-src/tests/lang/038.phpt(Convert warnings to exceptions) this testcase used to succeed in php-5.0.2 and old but not on php-5.0.3. Seems that exception_object->getTrace() now returns an array of size 3 with first 2 entries corresponding to Error2Exception and last one corresponding to fopen. Earlier this used to return array of size 2. Changing the var_dump($trace[1]['function']); to var_dump($trace[2]['function']); will make the testcase go through. Still I am interested in knowing the reason behind three entries in getTrace() return value. With regards Kamesh Jayachandran

« previous php.internals (#14335) next »