1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

MFH: fix test

This commit is contained in:
Rob Richards
2008-06-05 08:29:29 +00:00
parent 5e60f46159
commit 604bfe4c0b

View File

@@ -95,7 +95,7 @@ echo "Testing rawurlencode: ";
$encoded = rawurlencode($raw);
$correct = '%20%21%22%23%24%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F'
. '%40ABCDEFGHIJKLMNOPQRSTUVWXYZ%5B%5C%5D%5E_'
. '%60abcdefghijklmnopqrstuvwxyz%7B%7C%7D%7E'
. '%60abcdefghijklmnopqrstuvwxyz%7B%7C%7D~'
. '%00';
if ($encoded == $correct) {
echo("passed\n");