From 381269b354673b1fb65ecb7ac70ba8f39f6218c6 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Tue, 20 Jun 2006 13:07:44 +0000 Subject: [PATCH] fix test --- ext/simplexml/tests/bug37565.phpt | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/ext/simplexml/tests/bug37565.phpt b/ext/simplexml/tests/bug37565.phpt index 95f9795c67..d33e2c066a 100755 --- a/ext/simplexml/tests/bug37565.phpt +++ b/ext/simplexml/tests/bug37565.phpt @@ -2,6 +2,11 @@ Bug #37565 Using reflection::export with simplexml causing a crash --FILE-- ', 'Setting')); ?> ===DONE=== --EXPECTF-- - -Warning: simplexml_load_string() expects parameter 2 to be a class name derived from SimpleXMLElement, 'Setting' given in %sbug37565.php on line %d - -Warning: Reflection::export() expects parameter 1 to be Reflector, null given in %sbug37565.php on line %d - -Warning: simplexml_load_file() expects parameter 2 to be a class name derived from SimpleXMLElement, 'Setting' given in %sbug37565.php on line %d - -Warning: Reflection::export() expects parameter 1 to be Reflector, null given in %sbug37565.php on line %d +Error: simplexml_load_string() expects parameter 2 to be a class name derived from SimpleXMLElement, 'Setting' given +Error: Argument 1 passed to Reflection::export() must implement interface Reflector, null given +Error: Reflection::export() expects parameter 1 to be Reflector, null given +Error: simplexml_load_file() expects parameter 2 to be a class name derived from SimpleXMLElement, 'Setting' given +Error: Argument 1 passed to Reflection::export() must implement interface Reflector, null given +Error: Reflection::export() expects parameter 1 to be Reflector, null given ===DONE=== -- 2.50.1