summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcosptf <marcosptf@yahoo.com.br>2014-10-24 15:11:17 -0200
committerStanislav Malyshev <stas@php.net>2014-11-23 17:19:56 -0800
commit49a133dd0b08c52fd7565c313117fca1b9382f84 (patch)
tree72a64466b7fd58964f88897c03f8e206db887ba0
parent2917c702523910ace15a78f9646bd95700239528 (diff)
downloadphp-git-49a133dd0b08c52fd7565c313117fca1b9382f84.tar.gz
test to function addcslashes
test to function bin2hex
-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