From: Dmitry Stogov Date: Tue, 4 Mar 2008 10:07:28 +0000 (+0000) Subject: Fixed wrong result of cascading assignment to string offset X-Git-Tag: RELEASE_2_0_0a1~263 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a2e02b084fa1159391e5ad3d1a21caf9cfa2cd1;p=php Fixed wrong result of cascading assignment to string offset --- diff --git a/tests/lang/bug22592.phpt b/tests/lang/bug22592.phpt index 90043f4d02..7b3130bd83 100644 --- a/tests/lang/bug22592.phpt +++ b/tests/lang/bug22592.phpt @@ -46,9 +46,9 @@ string(8) "4-4s4s*0" 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(8) "4-4s4s*0" 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]