mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Wrong expectation in tests (for some reason backtraces contained invlalid extra frame at the top)
This commit is contained in:
parent
4dd7c63d1e
commit
477bd49cca
4 changed files with 7 additions and 9 deletions
|
@ -12,7 +12,6 @@ foreach ($gen as &$value) { }
|
|||
--EXPECTF--
|
||||
Fatal error: Uncaught exception 'Exception' with message 'You can only iterate a generator by-reference if it declared that it yields by-reference' in %s:%d
|
||||
Stack trace:
|
||||
#0 %s(%d): unknown()
|
||||
#1 {main}
|
||||
#0 {main}
|
||||
thrown in %s on line %d
|
||||
|
||||
|
|
|
@ -56,7 +56,6 @@ Stack trace:
|
|||
|
||||
exception 'Exception' with message 'Cannot traverse an already closed generator' in %s:%d
|
||||
Stack trace:
|
||||
#0 %s(%d): unknown()
|
||||
#1 {main}
|
||||
#0 {main}
|
||||
|
||||
in generator
|
||||
|
|
|
@ -2253,6 +2253,7 @@ ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int
|
|||
}
|
||||
if (!call) {
|
||||
call = ptr;
|
||||
ptr = ptr->prev_execute_data;
|
||||
}
|
||||
|
||||
array_init(return_value);
|
||||
|
|
|
@ -15,8 +15,7 @@ Bug #54911 (Access to a undefined member in inherit SoapClient may cause Segment
|
|||
--EXPECTF--
|
||||
Fatal error: Uncaught SoapFault exception: [Client] Access to undeclared static property: XSoapClient::$crash in %sbug54911.php:4
|
||||
Stack trace:
|
||||
#0 %sbug54911.php(4): XSoapClient->__doRequest()
|
||||
#1 [internal function]: XSoapClient->__doRequest('<?xml version="...', '', '#', 1, 0)
|
||||
#2 %sbug54911.php(8): SoapClient->__soapCall('', Array)
|
||||
#3 {main}
|
||||
thrown in %sbug54911.php on line 4
|
||||
#0 [internal function]: XSoapClient->__doRequest('<?xml version="...', '', '#', 1, 0)
|
||||
#1 %sbug54911.php(8): SoapClient->__soapCall('', Array)
|
||||
#2 {main}
|
||||
thrown in %sbug54911.php on line 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue