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-- fopen() with relative path on a file in the script directory --FILE-- <?php $fil..
Decoded Output download
--TEST--
fopen() with relative path on a file in the script directory
--FILE--
<?php
$file = basename(__FILE__);
$fd = fopen($file, "r", true);
var_dump($fd);
fclose($fd);
?>
--EXPECTF--
resource(%d) of type (stream)
Did this file decode correctly?
Original Code
--TEST--
fopen() with relative path on a file in the script directory
--FILE--
<?php
$file = basename(__FILE__);
$fd = fopen($file, "r", true);
var_dump($fd);
fclose($fd);
?>
--EXPECTF--
resource(%d) of type (stream)
Function Calls
basename | 1 |
Stats
MD5 | b26170300e438341b83ecadca077f224 |
Eval Count | 0 |
Decode Time | 80 ms |