Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- Bug #53248 (rawurlencode RFC 3986 EBCDIC support) --FILE-- <?php var_dump(rawurl..

Decoded Output download

--TEST--
Bug #53248 (rawurlencode RFC 3986 EBCDIC support)
--FILE--
<?php

var_dump(rawurlencode('A1_-.~'));
var_dump(rawurldecode('%41%31%5F%2D%2E%7E'));

?>
--EXPECT--
string(6) "A1_-.~"
string(6) "A1_-.~"

Did this file decode correctly?

Original Code

--TEST--
Bug #53248 (rawurlencode RFC 3986 EBCDIC support)
--FILE--
<?php

var_dump(rawurlencode('A1_-.~'));
var_dump(rawurldecode('%41%31%5F%2D%2E%7E'));

?>
--EXPECT--
string(6) "A1_-.~"
string(6) "A1_-.~"

Function Calls

rawurlencode 1

Variables

None

Stats

MD5 8f27e6e2236cde9430bf9c75d347ce72
Eval Count 0
Decode Time 101 ms