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 #24098 (pathinfo() crash) --FILE-- <?php var_dump(pathinfo("/dsds.asa"));..
Decoded Output download
--TEST--
Bug #24098 (pathinfo() crash)
--FILE--
<?php
var_dump(pathinfo("/dsds.asa"));
?>
--EXPECTF--
array(4) {
["dirname"]=>
string(1) "%e"
["basename"]=>
string(8) "dsds.asa"
["extension"]=>
string(3) "asa"
["filename"]=>
string(4) "dsds"
}
Did this file decode correctly?
Original Code
--TEST--
Bug #24098 (pathinfo() crash)
--FILE--
<?php
var_dump(pathinfo("/dsds.asa"));
?>
--EXPECTF--
array(4) {
["dirname"]=>
string(1) "%e"
["basename"]=>
string(8) "dsds.asa"
["extension"]=>
string(3) "asa"
["filename"]=>
string(4) "dsds"
}
Function Calls
pathinfo | 1 |
Stats
MD5 | 613c87dc3f76fa20059b29df8f59492c |
Eval Count | 0 |
Decode Time | 83 ms |