diff --git a/tests/func/012.phpt b/tests/func/012.phpt new file mode 100644 index 0000000000000..62e0203003a53 --- /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['\.'] 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['\.'] diff --git a/tests/func/014.phpt b/tests/func/014.phpt new file mode 100644 index 0000000000000..9c6649894cfee --- /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\[ \] 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? 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