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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to