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-- realpath_cache_size() and realpath_cache_get() --SKIPIF-- <?php if (substr(PHP_OS..
Decoded Output download
--TEST--
realpath_cache_size() and realpath_cache_get()
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip not on Windows');
}
?>
--FILE--
<?php
var_dump(realpath_cache_size());
$data = realpath_cache_get();
var_dump($data[__DIR__]);
echo "Done
";
?>
--EXPECTF--
int(%d)
array(4) {
["key"]=>
%s(%f)
["is_dir"]=>
bool(true)
["realpath"]=>
string(%d) "%sfile"
["expires"]=>
int(%d)
}
Done
Did this file decode correctly?
Original Code
--TEST--
realpath_cache_size() and realpath_cache_get()
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip not on Windows');
}
?>
--FILE--
<?php
var_dump(realpath_cache_size());
$data = realpath_cache_get();
var_dump($data[__DIR__]);
echo "Done\n";
?>
--EXPECTF--
int(%d)
array(4) {
["key"]=>
%s(%f)
["is_dir"]=>
bool(true)
["realpath"]=>
string(%d) "%sfile"
["expires"]=>
int(%d)
}
Done
Function Calls
None |
Stats
MD5 | 01c49306e721a21bd7e451432da3f10b |
Eval Count | 0 |
Decode Time | 79 ms |