cvs: php-src(PHP_5_2) /tests/lang bug22592.phpt
| From: | Dmitry Stogov | Date: | Tue, 04 Mar 2008 11:49:32 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /tests/lang bug22592.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-48859@lists.php.net to get a copy of this message | ||
dmitry Tue Mar 4 11:49:32 2008 UTC
Modified files: (Branch: PHP_5_2)
/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.1.6.1&r2=1.1.6.1.2.1&diff_format=u
Index: php-src/tests/lang/bug22592.phpt
diff -u php-src/tests/lang/bug22592.phpt:1.1.6.1 php-src/tests/lang/bug22592.phpt:1.1.6.1.2.1
--- php-src/tests/lang/bug22592.phpt:1.1.6.1 Wed Nov 16 15:13:20 2005
+++ php-src/tests/lang/bug22592.phpt Tue Mar 4 11:49:31 2008
@@ -46,8 +46,8 @@
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]