dmitry Mon Mar 27 13:51:32 2006 UTC
Modified files:
/php-src/ext/simplexml/tests 033.phpt
Log:
Fixed test
http://cvs.php.net/viewcvs.cgi/php-src/ext/simplexml/tests/033.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/simplexml/tests/033.phpt
diff -u php-src/ext/simplexml/tests/033.phpt:1.1
php-src/ext/simplexml/tests/033.phpt:1.2
--- php-src/ext/simplexml/tests/033.phpt:1.1 Fri Mar 24 12:08:19 2006
+++ php-src/ext/simplexml/tests/033.phpt Mon Mar 27 13:51:32 2006
@@ -135,3 +135,102 @@
}
}
===DONE===
+--UEXPECTF--
+bool(false)
+bool(true)
+int(0)
+int(0)
+float(0)
+float(0)
+unicode(0) ""
+unicode(15) "
+test
+
+
+
+"
+array(0) {
+}
+array(1) {
+ [u"person"]=>
+ array(3) {
+ [0]=>
+ object(SimpleXMLElement)#%d (1) {
+ [u"@attributes"]=>
+ array(1) {
+ [u"name"]=>
+ unicode(3) "Joe"
+ }
+ }
+ [1]=>
+ object(SimpleXMLElement)#%d (2) {
+ [u"@attributes"]=>
+ array(1) {
+ [u"name"]=>
+ unicode(4) "John"
+ }
+ [u"children"]=>
+ object(SimpleXMLElement)#%d (1) {
+ [u"person"]=>
+ object(SimpleXMLElement)#%d (1) {
+ [u"@attributes"]=>
+ array(1) {
+ [u"name"]=>
+ unicode(3) "Joe"
+ }
+ }
+ }
+ }
+ [2]=>
+ object(SimpleXMLElement)#%d (1) {
+ [u"@attributes"]=>
+ array(1) {
+ [u"name"]=>
+ unicode(4) "Jane"
+ }
+ }
+ }
+}
+object(SimpleXMLElement)#%d (0) {
+}
+object(SimpleXMLElement)#%d (1) {
+ [u"person"]=>
+ array(3) {
+ [0]=>
+ object(SimpleXMLElement)#%d (1) {
+ [u"@attributes"]=>
+ array(1) {
+ [u"name"]=>
+ unicode(3) "Joe"
+ }
+ }
+ [1]=>
+ object(SimpleXMLElement)#%d (2) {
+ [u"@attributes"]=>
+ array(1) {
+ [u"name"]=>
+ unicode(4) "John"
+ }
+ [u"children"]=>
+ object(SimpleXMLElement)#%d (1) {
+ [u"person"]=>
+ object(SimpleXMLElement)#%d (1) {
+ [u"@attributes"]=>
+ array(1) {
+ [u"name"]=>
+ unicode(3) "Joe"
+ }
+ }
+ }
+ }
+ [2]=>
+ object(SimpleXMLElement)#%d (1) {
+ [u"@attributes"]=>
+ array(1) {
+ [u"name"]=>
+ unicode(4) "Jane"
+ }
+ }
+ }
+}
+===DONE===
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php