From 177c455f04f95d5ba7f48c16fea960dceecc2635 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 14 Apr 2020 17:50:54 +0200 Subject: Fix test after callback name change --- ext/xml/tests/bug72085.phpt | 60 +++++++++++++++------------------------------ 1 file changed, 20 insertions(+), 40 deletions(-) (limited to 'ext/xml') 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("", 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 -- cgit v1.2.1