cvs: php-src /tests/lang bug22592.phpt
| From: | Dmitry Stogov | Date: | Tue, 04 Mar 2008 10:07:28 +0000 |
| Subject: | cvs: php-src /tests/lang bug22592.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-48852@lists.php.net to get a copy of this message | ||
dmitry Tue Mar 4 10:07:28 2008 UTC
Modified files:
/php-src/tests/lang bug22592.phpt
Log:
Fixed wrong result of cascading assignment to string offset
http://cvs.php.net/viewvc.cgi/php-src/tests/lang/bug22592.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/tests/lang/bug22592.phpt
diff -u php-src/tests/lang/bug22592.phpt:1.2 php-src/tests/lang/bug22592.phpt:1.3
--- php-src/tests/lang/bug22592.phpt:1.2 Mon Aug 15 14:37:54 2005
+++ php-src/tests/lang/bug22592.phpt Tue Mar 4 10:07:28 2008
@@ -46,9 +46,9 @@
string(9) "4-4s4s505"
string(9) "454s4s505"
string(1) "-"
-string(6) "string"
-int(4)
-int(5)
+string(1) "s"
+string(1) "4"
+string(1) "5"
string(1) "5"
[Illegal string offset: -1]
--UEXPECT--
@@ -63,8 +63,8 @@
unicode(9) "4-4s4s505"
unicode(9) "454s4s505"
unicode(1) "-"
-unicode(6) "string"
-int(4)
-int(5)
+unicode(1) "s"
+unicode(1) "4"
+unicode(1) "5"
unicode(1) "5"
[Illegal string offset: -1]