From: Antony Dovgal Date: Tue, 20 Jun 2006 13:07:44 +0000 (+0000) Subject: fix test X-Git-Tag: RELEASE_1_0_0RC1~2691 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=381269b354673b1fb65ecb7ac70ba8f39f6218c6;p=php fix test --- 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===