cvs: php-src /ext/simplexml/tests 025.phpt

From: Date: Tue, 01 Nov 2005 11:55:13 +0000
Subject: cvs: php-src /ext/simplexml/tests 025.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-34934@lists.php.net to get a copy of this message
helly Tue Nov 1 06:55:13 2005 EDT Modified files: /php-src/ext/simplexml/tests 025.phpt Log: - Test no namespace case, too http://cvs.php.net/diff.php/php-src/ext/simplexml/tests/025.phpt?r1=1.2&r2=1.3&ty=u Index: php-src/ext/simplexml/tests/025.phpt diff -u php-src/ext/simplexml/tests/025.phpt:1.2 php-src/ext/simplexml/tests/025.phpt:1.3 --- php-src/ext/simplexml/tests/025.phpt:1.2 Tue Nov 1 06:53:14 2005 +++ php-src/ext/simplexml/tests/025.phpt Tue Nov 1 06:55:13 2005 @@ -33,6 +33,16 @@ var_dump($sxe->getNamespaces()); var_dump($sxe->getDocNamespaces()); +$xml =<<<EOF +<?xml version='1.0'?> +<root/> +EOF; + +$sxe = simplexml_load_string($xml); + +var_dump($sxe->getNamespaces()); +var_dump($sxe->getDocNamespaces()); + ?> ===DONE=== <?php exit(0); ?> @@ -73,6 +83,10 @@ [""]=> string(28) "http://www.w3.org/1999/xhtml" } +array(0) { +} +array(0) { +} ===DONE=== --UEXPECTF-- array(1) { @@ -111,4 +125,8 @@ [u""]=> string(28) "http://www.w3.org/1999/xhtml" } +array(0) { +} +array(0) { +} ===DONE===

« previous php.cvs (#34934) next »