summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-09-19 12:06:49 +0000
committerAntony Dovgal <tony2001@php.net>2006-09-19 12:06:49 +0000
commit19ac74fd2300f9a69a656dae1a687c38a53039e6 (patch)
tree960adeb8a1784ca8ad3d2284aca484be9257d67a
parent074615035f8c43e5da303ee5ba1acb1accb65578 (diff)
downloadphp-git-19ac74fd2300f9a69a656dae1a687c38a53039e6.tar.gz
fix tests
-rw-r--r--ext/libxml/tests/002.phpt2
-rwxr-xr-xext/reflection/tests/005.phpt7
2 files changed, 1 insertions, 8 deletions
diff --git a/ext/libxml/tests/002.phpt b/ext/libxml/tests/002.phpt
index ad252fcb65..bd4ec14cd3 100644
--- a/ext/libxml/tests/002.phpt
+++ b/ext/libxml/tests/002.phpt
@@ -16,7 +16,7 @@ $xmlstr = <<< XML
</movies>
XML;
-$doc = simplexml_load_string($xmlstr);
+$doc = simplexml_load_string((binary)$xmlstr);
$xml = explode("\n", $xmlstr);
if (!$doc) {
diff --git a/ext/reflection/tests/005.phpt b/ext/reflection/tests/005.phpt
index 46a89c5177..bedc7d0326 100755
--- a/ext/reflection/tests/005.phpt
+++ b/ext/reflection/tests/005.phpt
@@ -54,10 +54,3 @@ bool(false)
bool(false)
string(22) "* Comment for A::baz()"
===DONE===
---UEXPECT--
-unicode(19) "Comment for class A"
-unicode(15) "Method A::bla()"
-bool(false)
-bool(false)
-unicode(22) "* Comment for A::baz()"
-===DONE===