]> granicus.if.org Git - php/commitdiff
- Fixed tests
authorFelipe Pena <felipe@php.net>
Thu, 1 Dec 2011 15:38:17 +0000 (15:38 +0000)
committerFelipe Pena <felipe@php.net>
Thu, 1 Dec 2011 15:38:17 +0000 (15:38 +0000)
ext/standard/tests/strings/strrchr_variation5.phpt
ext/standard/tests/strings/strspn_variation6.phpt
ext/standard/tests/strings/strtok_variation6.phpt

index 88a4a84b01a47927e9e37061f0af1f8e355175f0..1ef23911e9542c750b715b94eec4bea308a72fa0 100644 (file)
@@ -34,17 +34,17 @@ echo "*** Done ***";
 ?>
 --EXPECTF--
 *** Testing strrchr() function: with heredoc strings ***
-string(33) "    st\r\rch\r using
-\escape \seque
+string(32) "    st\r\rch\r using
+\escape \seque
 ce"
 string(9) "\seque
 ce"
-string(25) "\r using
-\escape \seque
+string(24) "\r using
+\escape \seque
 ce"
 string(9) "\seque
 ce"
-string(33) "    st\r\rch\r using
-\escape \seque
+string(32) "    st\r\rch\r using
+\escape \seque
 ce"
 *** Done ***
index 3c3c1d8c37c430f7182057fea2541c549a78712b..413198d1c0a2da7fc2b958504534fd516838543e 100644 (file)
@@ -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
index 5a77f6f9e96a40e7b33e2a6a6d7ff8a8f4459849..73ea3667ebd55d50780297a90162bbd5dcdad33b 100644 (file)
@@ -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()