summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-10-26 01:17:51 +0000
committerMarcus Boerger <helly@php.net>2003-10-26 01:17:51 +0000
commit869ce07c96403e11eb0440b261bf3242dc01051e (patch)
tree01d0a1dcaa78fece71ef6485454d0ae4cf25bf06
parentad172161e0e88d514b57694c71850b3bae4f26ac (diff)
downloadphp-git-869ce07c96403e11eb0440b261bf3242dc01051e.tar.gz
And get the last thing working
-rw-r--r--ext/simplexml/simplexml.c2
-rw-r--r--ext/simplexml/tests/bug25756.phpt2
2 files changed, 2 insertions, 2 deletions
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)