diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-14 17:50:54 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-14 17:50:54 +0200 |
commit | 177c455f04f95d5ba7f48c16fea960dceecc2635 (patch) | |
tree | 6658d7854683189b2810f177768671ceb8a480ea /ext/xml | |
parent | 907bf786f1972dd88fe804ce7ff0cc183a719e0b (diff) | |
download | php-git-177c455f04f95d5ba7f48c16fea960dceecc2635.tar.gz |
Fix test after callback name change
Diffstat (limited to 'ext/xml')
-rw-r--r-- | ext/xml/tests/bug72085.phpt | 60 |
1 files changed, 20 insertions, 40 deletions
diff --git a/ext/xml/tests/bug72085.phpt b/ext/xml/tests/bug72085.phpt index 078210f569..e205891fcb 100644 --- a/ext/xml/tests/bug72085.phpt +++ b/ext/xml/tests/bug72085.phpt @@ -11,62 +11,42 @@ xml_set_element_handler($var1, new Exception(""), 4096); xml_parse($var1, str_repeat("<a>", 10)); ?> --EXPECTF-- -Warning: Invalid callback Exception in %s%ebug72085.php:%d -Stack trace: -#0 {main}, no array or string given in %s%ebug72085.php on line %d +Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d -Warning: xml_parse(): Unable to call handler in %s%ebug72085.php on line %d +Warning: xml_parse(): Unable to call handler in %s on line %d -Warning: Invalid callback Exception in %s%ebug72085.php:%d -Stack trace: -#0 {main}, no array or string given in %s%ebug72085.php on line %d +Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d -Warning: xml_parse(): Unable to call handler in %s%ebug72085.php on line %d +Warning: xml_parse(): Unable to call handler in %s on line %d -Warning: Invalid callback Exception in %s%ebug72085.php:%d -Stack trace: -#0 {main}, no array or string given in %s%ebug72085.php on line %d +Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d -Warning: xml_parse(): Unable to call handler in %s%ebug72085.php on line %d +Warning: xml_parse(): Unable to call handler in %s on line %d -Warning: Invalid callback Exception in %s%ebug72085.php:%d -Stack trace: -#0 {main}, no array or string given in %s%ebug72085.php on line %d +Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d -Warning: xml_parse(): Unable to call handler in %s%ebug72085.php on line %d +Warning: xml_parse(): Unable to call handler in %s on line %d -Warning: Invalid callback Exception in %s%ebug72085.php:%d -Stack trace: -#0 {main}, no array or string given in %s%ebug72085.php on line %d +Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d -Warning: xml_parse(): Unable to call handler in %s%ebug72085.php on line %d +Warning: xml_parse(): Unable to call handler in %s on line %d -Warning: Invalid callback Exception in %s%ebug72085.php:%d -Stack trace: -#0 {main}, no array or string given in %s%ebug72085.php on line %d +Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d -Warning: xml_parse(): Unable to call handler in %s%ebug72085.php on line %d +Warning: xml_parse(): Unable to call handler in %s on line %d -Warning: Invalid callback Exception in %s%ebug72085.php:%d -Stack trace: -#0 {main}, no array or string given in %s%ebug72085.php on line %d +Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d -Warning: xml_parse(): Unable to call handler in %s%ebug72085.php on line %d +Warning: xml_parse(): Unable to call handler in %s on line %d -Warning: Invalid callback Exception in %s%ebug72085.php:%d -Stack trace: -#0 {main}, no array or string given in %s%ebug72085.php on line %d +Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d -Warning: xml_parse(): Unable to call handler in %s%ebug72085.php on line %d +Warning: xml_parse(): Unable to call handler in %s on line %d -Warning: Invalid callback Exception in %s%ebug72085.php:%d -Stack trace: -#0 {main}, no array or string given in %s%ebug72085.php on line %d +Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d -Warning: xml_parse(): Unable to call handler in %s%ebug72085.php on line %d +Warning: xml_parse(): Unable to call handler in %s on line %d -Warning: Invalid callback Exception in %s%ebug72085.php:%d -Stack trace: -#0 {main}, no array or string given in %s%ebug72085.php on line %d +Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d -Warning: xml_parse(): Unable to call handler in %s%ebug72085.php on line %d +Warning: xml_parse(): Unable to call handler in %s on line %d |