diff --git a/tests/func/012.phpt b/tests/func/012.phpt new file mode 100644 index 000000000000..8fd2e7fcd54d --- /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 000000000000..bc9e08732abc --- /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 000000000000..d814a2c833c8 --- /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 000000000000..c5e7577c3bb1 --- /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 000000000000..e73500a30e18 --- /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