From ec2de456686a2ea1cc021152f33e7a8505fb820c Mon Sep 17 00:00:00 2001 From: marcosptf Date: Sat, 5 Jul 2014 21:44:48 -0300 Subject: [PATCH 1/5] Create 012.phpt commiting functions tests --- 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..8fd2e7fcd54da --- /dev/null +++ b/tests/func/012.phpt @@ -0,0 +1,12 @@ +--TEST-- +addcslashes() fuction 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 b45cac77932ac3f993619cd84d6fa0854d5845de Mon Sep 17 00:00:00 2001 From: marcosptf Date: Sat, 5 Jul 2014 21:46:35 -0300 Subject: [PATCH 2/5] commiting functions tests --- 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..bc9e08732abcb --- /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 6c46d43349f9553ab106a274b50d1657e6014f5f Mon Sep 17 00:00:00 2001 From: marcosptf Date: Sat, 5 Jul 2014 21:48:30 -0300 Subject: [PATCH 3/5] commiting functions tests --- tests/func/014.phpt | 10 ++++++++++ 1 file changed, 10 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..d814a2c833c85 --- /dev/null +++ b/tests/func/014.phpt @@ -0,0 +1,10 @@ +--TEST-- +addcslashes() function test +--CREDITS-- +#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 +--FILE-- + +--EXPECT-- +\f\o\o\[ \] From 2e4aab3fef70d885aa4a1bc6e39af911cf6eb1eb Mon Sep 17 00:00:00 2001 From: marcosptf Date: Sat, 5 Jul 2014 21:49:22 -0300 Subject: [PATCH 4/5] commiting functions tests --- 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..c5e7577c3bb19 --- /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 ab33dc373428dbe64939e799fa55f7c76e7e729b Mon Sep 17 00:00:00 2001 From: marcosptf Date: Sat, 5 Jul 2014 21:50:08 -0300 Subject: [PATCH 5/5] commiting functions tests --- 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