From: Antony Dovgal Date: Tue, 19 Sep 2006 12:06:49 +0000 (+0000) Subject: fix tests X-Git-Tag: RELEASE_1_0_0RC1~1623 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19ac74fd2300f9a69a656dae1a687c38a53039e6;p=php fix tests --- 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 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===