From: Marcus Boerger Date: Sun, 26 Oct 2003 01:17:51 +0000 (+0000) Subject: And get the last thing working X-Git-Tag: RELEASE_2_0_0RC1~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=869ce07c96403e11eb0440b261bf3242dc01051e;p=php And get the last thing working --- diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index d0433b4bf7..cf0e2cdcc9 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -608,7 +608,7 @@ simplexml_ce_schema_validate(INTERNAL_FUNCTION_PARAMETERS, int type) RETVAL_FALSE; break; default: /* error */ - RETVAL_TRUE; + RETVAL_FALSE; break; } diff --git a/ext/simplexml/tests/bug25756.phpt b/ext/simplexml/tests/bug25756.phpt index 082b903ae4..99d88dcea0 100644 --- a/ext/simplexml/tests/bug25756.phpt +++ b/ext/simplexml/tests/bug25756.phpt @@ -65,4 +65,4 @@ object(simplexml_element)#%d (1) { } } } -bool(true) +bool(false)