tony2001 Tue May 29 11:34:58 2007 UTC
Modified files:
/php-src/tests/classes array_access_010.phpt
Log:
fix test
http://cvs.php.net/viewvc.cgi/php-src/tests/classes/array_access_010.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/tests/classes/array_access_010.phpt
diff -u php-src/tests/classes/array_access_010.phpt:1.3
php-src/tests/classes/array_access_010.phpt:1.4
--- php-src/tests/classes/array_access_010.phpt:1.3 Mon Aug 15 14:37:54 2005
+++ php-src/tests/classes/array_access_010.phpt Tue May 29 11:34:58 2007
@@ -102,6 +102,8 @@
string(6) "FooBar"
string(9) "FooBarBaz"
===ArrayOverloading===
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
object(ArrayReferenceProxy)#1 (2) {
["object":"ArrayReferenceProxy":private]=>
@@ -121,27 +123,63 @@
string(3) "Foo"
}
}
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
string(3) "Foo"
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetSet(Array, name, FooBar)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
string(6) "FooBar"
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetSet(Array, name, FooBarBar)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
string(9) "FooBarBar"
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetSet(Array, name, FooBarBarBaz)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
string(12) "FooBarBarBaz"
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetUnset(Array, name)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
object(ArrayReferenceProxy)#1 (2) {
["object":"ArrayReferenceProxy":private]=>
@@ -157,12 +195,24 @@
&array(0) {
}
}
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
NULL
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetSet(Array, name, BlaBla)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
string(6) "BlaBla"
===DONE===
@@ -171,6 +221,8 @@
unicode(6) "FooBar"
unicode(9) "FooBarBaz"
===ArrayOverloading===
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
object(ArrayReferenceProxy)#1 (2) {
[u"object":u"ArrayReferenceProxy":private]=>
@@ -190,27 +242,63 @@
unicode(3) "Foo"
}
}
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
unicode(3) "Foo"
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetSet(Array, name, FooBar)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
unicode(6) "FooBar"
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetSet(Array, name, FooBarBar)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
unicode(9) "FooBarBar"
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetSet(Array, name, FooBarBarBaz)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
unicode(12) "FooBarBarBaz"
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetUnset(Array, name)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
object(ArrayReferenceProxy)#1 (2) {
[u"object":u"ArrayReferenceProxy":private]=>
@@ -226,12 +314,24 @@
&array(0) {
}
}
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
NULL
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetSet(Array, name, BlaBla)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::__construct(Array)
+
+Notice: Array to string conversion in %s on line %d
ArrayReferenceProxy::offsetGet(Array, name)
unicode(6) "BlaBla"
===DONE===
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php