From: Felipe Pena Date: Thu, 1 Dec 2011 15:38:17 +0000 (+0000) Subject: - Fixed tests X-Git-Tag: php-5.5.0alpha1~793 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bffd89487de879734f110c57805f73e61f346c16;p=php - Fixed tests --- diff --git a/ext/standard/tests/strings/strrchr_variation5.phpt b/ext/standard/tests/strings/strrchr_variation5.phpt index 88a4a84b01..1ef23911e9 100644 --- a/ext/standard/tests/strings/strrchr_variation5.phpt +++ b/ext/standard/tests/strings/strrchr_variation5.phpt @@ -34,17 +34,17 @@ echo "*** Done ***"; ?> --EXPECTF-- *** Testing strrchr() function: with heredoc strings *** -string(33) " st ch using -\escape \seque +string(32) " st ch using +scape \seque ce" string(9) "\seque ce" -string(25) " using -\escape \seque +string(24) " using +scape \seque ce" string(9) "\seque ce" -string(33) " st ch using -\escape \seque +string(32) " st ch using +scape \seque ce" *** Done *** diff --git a/ext/standard/tests/strings/strspn_variation6.phpt b/ext/standard/tests/strings/strspn_variation6.phpt index 3c3c1d8c37..413198d1c0 100644 --- a/ext/standard/tests/strings/strspn_variation6.phpt +++ b/ext/standard/tests/strings/strspn_variation6.phpt @@ -137,7 +137,7 @@ int(4) int(0) int(0) int(0) -int(4) +int(1) int(0) int(4) @@ -149,7 +149,7 @@ int(4) int(0) int(0) int(0) -int(4) +int(1) int(0) int(4) @@ -161,7 +161,7 @@ int(4) int(0) int(0) int(0) -int(4) +int(1) int(0) int(4) @@ -173,7 +173,7 @@ int(4) int(0) int(0) int(0) -int(4) +int(1) int(0) int(4) -Done \ No newline at end of file +Done diff --git a/ext/standard/tests/strings/strtok_variation6.phpt b/ext/standard/tests/strings/strtok_variation6.phpt index 5a77f6f9e9..73ea3667eb 100644 --- a/ext/standard/tests/strings/strtok_variation6.phpt +++ b/ext/standard/tests/strings/strtok_variation6.phpt @@ -25,7 +25,7 @@ $token_array = array( "/ ", "/k", "\k", - "\\\\\\\k\h\e\l\o\w\r\l\d" + "\\\\\\\k\h\\e\l\o\w\r\l\d" ); // loop through each element of the array and check the working of strtok()