summaryrefslogtreecommitdiff
path: root/ext/standard/tests/url
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/url')
-rw-r--r--ext/standard/tests/url/bug53248.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/standard/tests/url/bug53248.phpt b/ext/standard/tests/url/bug53248.phpt
new file mode 100644
index 0000000..5e31c51
--- /dev/null
+++ b/ext/standard/tests/url/bug53248.phpt
@@ -0,0 +1,12 @@
+--TEST--
+Bug #53248 (rawurlencode RFC 3986 EBCDIC support)
+--FILE--
+<?php
+
+var_dump(rawurlencode('A1_-.~'));
+var_dump(rawurldecode('%41%31%5F%2D%2E%7E'));
+
+?>
+--EXPECTF--
+string(6) "A1_-.~"
+string(6) "A1_-.~" \ No newline at end of file