summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/tests/strings/addcslashes_005.phpt (renamed from tests/func/012.phpt)2
-rw-r--r--ext/standard/tests/strings/bin2hex_001.phpt11
2 files changed, 12 insertions, 1 deletions
diff --git a/tests/func/012.phpt b/ext/standard/tests/strings/addcslashes_005.phpt
index 3b0d8ea7b3..f0b2fbcecb 100644
--- a/tests/func/012.phpt
+++ b/ext/standard/tests/strings/addcslashes_005.phpt
@@ -1,5 +1,5 @@
--TEST--
-addcslashes(); function test
+addcslashes(); function test with warning
--CREDITS--
marcosptf - <marcosptf@yahoo.com.br>
#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05
diff --git a/ext/standard/tests/strings/bin2hex_001.phpt b/ext/standard/tests/strings/bin2hex_001.phpt
new file mode 100644
index 0000000000..e73500a30e
--- /dev/null
+++ b/ext/standard/tests/strings/bin2hex_001.phpt
@@ -0,0 +1,11 @@
+--TEST--
+bin2hex(); function test
+--CREDITS--
+marcosptf - <marcosptf@yahoo.com.br>
+#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05
+--FILE--
+<?php
+echo bin2hex("123456");
+?>
+--EXPECT--
+313233343536