From 196568cb74318b1c21b6b5d1b58e85581353485e Mon Sep 17 00:00:00 2001 From: marcosptf Date: Fri, 24 Oct 2014 15:08:27 -0200 Subject: [PATCH 01/19] test --- tests/func/012.phpt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/func/012.phpt diff --git a/tests/func/012.phpt b/tests/func/012.phpt new file mode 100644 index 0000000000000..3b0d8ea7b3245 --- /dev/null +++ b/tests/func/012.phpt @@ -0,0 +1,12 @@ +--TEST-- +addcslashes(); function test +--CREDITS-- + marcosptf - +#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 +--FILE-- + +--EXPECTF-- +Warning: addcslashes(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d +\zoo['\.'] From d9bf9a3defc007af4bcc012bbecf8db60a07cbcd Mon Sep 17 00:00:00 2001 From: marcosptf Date: Fri, 24 Oct 2014 15:09:03 -0200 Subject: [PATCH 02/19] test to function addcslashes From 6909d18ed636735526442c3d5395c8229bfb23dc Mon Sep 17 00:00:00 2001 From: marcosptf Date: Fri, 24 Oct 2014 15:11:17 -0200 Subject: [PATCH 03/19] test to function addcslashes --- tests/func/013.phpt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/func/013.phpt diff --git a/tests/func/013.phpt b/tests/func/013.phpt new file mode 100644 index 0000000000000..05839e5b8a51c --- /dev/null +++ b/tests/func/013.phpt @@ -0,0 +1,11 @@ +--TEST-- +addcslashes() function test +--CREDITS-- +marcosptf - +#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 +--FILE-- + +--EXPECT-- +\zoo['\.'] From 97ef5a624252e7ab78d983a87475448293aba7d3 Mon Sep 17 00:00:00 2001 From: marcosptf Date: Fri, 24 Oct 2014 15:12:19 -0200 Subject: [PATCH 04/19] test to function addcslashes --- tests/func/014.phpt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/func/014.phpt diff --git a/tests/func/014.phpt b/tests/func/014.phpt new file mode 100644 index 0000000000000..532f124a996a0 --- /dev/null +++ b/tests/func/014.phpt @@ -0,0 +1,11 @@ +--TEST-- +addcslashes(); function test +--CREDITS-- +#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 +# +--FILE-- + +--EXPECT-- +\f\o\o\[ \] From 3ad666a6c189860743a6aef49d6ce9172e2f0305 Mon Sep 17 00:00:00 2001 From: marcosptf Date: Fri, 24 Oct 2014 15:13:02 -0200 Subject: [PATCH 05/19] test to function addslashes --- tests/func/015.phpt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/func/015.phpt diff --git a/tests/func/015.phpt b/tests/func/015.phpt new file mode 100644 index 0000000000000..a72e1781c0620 --- /dev/null +++ b/tests/func/015.phpt @@ -0,0 +1,11 @@ +--TEST-- +addslashes(); function test +--CREDITS-- +marcosptf - +#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 +--FILE-- + +--EXPECT-- +do you like book\'s O\'reilly? From c3ed9439741c355d9ca3c320a50f88a8cc2e746b Mon Sep 17 00:00:00 2001 From: marcosptf Date: Fri, 24 Oct 2014 15:13:53 -0200 Subject: [PATCH 06/19] test to function bin2hex --- tests/func/016.phpt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/func/016.phpt diff --git a/tests/func/016.phpt b/tests/func/016.phpt new file mode 100644 index 0000000000000..e73500a30e181 --- /dev/null +++ b/tests/func/016.phpt @@ -0,0 +1,11 @@ +--TEST-- +bin2hex(); function test +--CREDITS-- +marcosptf - +#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 +--FILE-- + +--EXPECT-- +313233343536 From bcac51c1985aeed9b2f1378130d6e3a847e77d7b Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 11:30:34 -0200 Subject: [PATCH 07/19] fixting test --- tests/func/012.phpt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/func/012.phpt b/tests/func/012.phpt index 3b0d8ea7b3245..56ccd53bdaee3 100644 --- a/tests/func/012.phpt +++ b/tests/func/012.phpt @@ -5,6 +5,7 @@ addcslashes(); function test #phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 --FILE-- --EXPECTF-- From cd3e1e52c137b8c49630575dbedea0063f3ea4bc Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 11:31:10 -0200 Subject: [PATCH 08/19] fixting test --- tests/func/013.phpt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/func/013.phpt b/tests/func/013.phpt index 05839e5b8a51c..2f3083a169fc0 100644 --- a/tests/func/013.phpt +++ b/tests/func/013.phpt @@ -5,6 +5,7 @@ marcosptf - #phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 --FILE-- --EXPECT-- From 0ed73c2e7c023f4f771be0cae758c6742eee2193 Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 11:38:09 -0200 Subject: [PATCH 09/19] fixting test --- tests/func/013.phpt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/func/013.phpt b/tests/func/013.phpt index 2f3083a169fc0..3b0d8ea7b3245 100644 --- a/tests/func/013.phpt +++ b/tests/func/013.phpt @@ -1,12 +1,12 @@ --TEST-- -addcslashes() function test +addcslashes(); function test --CREDITS-- -marcosptf - + marcosptf - #phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 --FILE-- ---EXPECT-- +--EXPECTF-- +Warning: addcslashes(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d \zoo['\.'] From 8d7211d84ae89c7feab17bc56a252352354c190f Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 11:41:09 -0200 Subject: [PATCH 10/19] Update 012.phpt --- tests/func/012.phpt | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/tests/func/012.phpt b/tests/func/012.phpt index 56ccd53bdaee3..8b137891791fe 100644 --- a/tests/func/012.phpt +++ b/tests/func/012.phpt @@ -1,13 +1 @@ ---TEST-- -addcslashes(); function test ---CREDITS-- - marcosptf - -#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 ---FILE-- - ---EXPECTF-- -Warning: addcslashes(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d -\zoo['\.'] + From 2835620cf29328197dfe8b1b098a6c7dc80b1bdc Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 11:47:24 -0200 Subject: [PATCH 11/19] Delete 012.phpt --- tests/func/012.phpt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 tests/func/012.phpt diff --git a/tests/func/012.phpt b/tests/func/012.phpt deleted file mode 100644 index 8b137891791fe..0000000000000 --- a/tests/func/012.phpt +++ /dev/null @@ -1 +0,0 @@ - From 317aba34845a7566673620f945cbeb08d870802b Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 12:02:55 -0200 Subject: [PATCH 12/19] test of function bin2hex() --- tests/func/012.phpt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/func/012.phpt diff --git a/tests/func/012.phpt b/tests/func/012.phpt new file mode 100644 index 0000000000000..e73500a30e181 --- /dev/null +++ b/tests/func/012.phpt @@ -0,0 +1,11 @@ +--TEST-- +bin2hex(); function test +--CREDITS-- +marcosptf - +#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 +--FILE-- + +--EXPECT-- +313233343536 From ae64342725cd323d977691e4834cc09860a2b002 Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 12:03:11 -0200 Subject: [PATCH 13/19] Delete 016.phpt --- tests/func/016.phpt | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tests/func/016.phpt diff --git a/tests/func/016.phpt b/tests/func/016.phpt deleted file mode 100644 index e73500a30e181..0000000000000 --- a/tests/func/016.phpt +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -bin2hex(); function test ---CREDITS-- -marcosptf - -#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 ---FILE-- - ---EXPECT-- -313233343536 From e9c927beceb6c121f7431dabb394a1b574136ba1 Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 19:21:46 -0200 Subject: [PATCH 14/19] test of function bin2hex() --- ext/standard/tests/strings/bin2hex_001.phpt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ext/standard/tests/strings/bin2hex_001.phpt diff --git a/ext/standard/tests/strings/bin2hex_001.phpt b/ext/standard/tests/strings/bin2hex_001.phpt new file mode 100644 index 0000000000000..e73500a30e181 --- /dev/null +++ b/ext/standard/tests/strings/bin2hex_001.phpt @@ -0,0 +1,11 @@ +--TEST-- +bin2hex(); function test +--CREDITS-- +marcosptf - +#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 +--FILE-- + +--EXPECT-- +313233343536 From 1dc5548c2d92de19f9df2facb15b107b57938167 Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 19:45:34 -0200 Subject: [PATCH 15/19] test of function addcslashes() with warning msg --- ext/standard/tests/strings/addcslashes_005.phpt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ext/standard/tests/strings/addcslashes_005.phpt diff --git a/ext/standard/tests/strings/addcslashes_005.phpt b/ext/standard/tests/strings/addcslashes_005.phpt new file mode 100644 index 0000000000000..f0b2fbcecb2fe --- /dev/null +++ b/ext/standard/tests/strings/addcslashes_005.phpt @@ -0,0 +1,12 @@ +--TEST-- +addcslashes(); function test with warning +--CREDITS-- + marcosptf - +#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 +--FILE-- + +--EXPECTF-- +Warning: addcslashes(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d +\zoo['\.'] From eb8d69b8d0258c0fa664b480fc0b25c2b716190d Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 19:46:44 -0200 Subject: [PATCH 16/19] Delete 012.phpt --- tests/func/012.phpt | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tests/func/012.phpt diff --git a/tests/func/012.phpt b/tests/func/012.phpt deleted file mode 100644 index e73500a30e181..0000000000000 --- a/tests/func/012.phpt +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -bin2hex(); function test ---CREDITS-- -marcosptf - -#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 ---FILE-- - ---EXPECT-- -313233343536 From 7cc325d7cd032440533225ba66874f900c2320c5 Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 19:46:55 -0200 Subject: [PATCH 17/19] Delete 013.phpt --- tests/func/013.phpt | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 tests/func/013.phpt diff --git a/tests/func/013.phpt b/tests/func/013.phpt deleted file mode 100644 index 3b0d8ea7b3245..0000000000000 --- a/tests/func/013.phpt +++ /dev/null @@ -1,12 +0,0 @@ ---TEST-- -addcslashes(); function test ---CREDITS-- - marcosptf - -#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 ---FILE-- - ---EXPECTF-- -Warning: addcslashes(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d -\zoo['\.'] From adc63bbf6bcb33c0d581d711b2309b0e31a55b3b Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 19:47:06 -0200 Subject: [PATCH 18/19] Delete 014.phpt --- tests/func/014.phpt | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tests/func/014.phpt diff --git a/tests/func/014.phpt b/tests/func/014.phpt deleted file mode 100644 index 532f124a996a0..0000000000000 --- a/tests/func/014.phpt +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -addcslashes(); function test ---CREDITS-- -#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 -# ---FILE-- - ---EXPECT-- -\f\o\o\[ \] From 61b00a12e9312181c5f944f5d1acbf6b982c601a Mon Sep 17 00:00:00 2001 From: marcosptf Date: Thu, 30 Oct 2014 19:47:17 -0200 Subject: [PATCH 19/19] Delete 015.phpt --- tests/func/015.phpt | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tests/func/015.phpt diff --git a/tests/func/015.phpt b/tests/func/015.phpt deleted file mode 100644 index a72e1781c0620..0000000000000 --- a/tests/func/015.phpt +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -addslashes(); function test ---CREDITS-- -marcosptf - -#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 ---FILE-- - ---EXPECT-- -do you like book\'s O\'reilly?