Uh oh!
There was an error while loading. Please reload this page.
Promote warnings to exceptions in ext/simplexml - #6011
Conversation
There was a problem hiding this comment.
Error condition seems to be untested.
There was a problem hiding this comment.
Uh, I couldn't trigger this error case in the newly added test :/
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
5f9e78f to
a80f41bCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
a80f41b to
644dba8Compare| * and this is during runtime. | ||
| */ | ||
| zend_throw_error(NULL, "Cannot create unnamed attribute"); | ||
| zend_throw_error(NULL, "Cannot append to an attribute list"); |
There was a problem hiding this comment.
I'd leave only the first line of the preceding comment.
kocsismate
commented
Aug 25, 2020
|
| * * &EG(error_zval), if an exception has been thrown. | ||
| * * NULL, if acquiring a direct pointer is not possible. | ||
| * In this case, the VM will fall back to using read_property and write_property. | ||
| */ |
There was a problem hiding this comment.
Thanks for the this explanation, it's really useful! Of course, I'm grateful for the fix, too :)
No description provided.