From 5a2e02b084fa1159391e5ad3d1a21caf9cfa2cd1 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 4 Mar 2008 10:07:28 +0000 Subject: [PATCH] Fixed wrong result of cascading assignment to string offset --- tests/lang/bug22592.phpt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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] -- 2.50.1