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-- various file stat func tests --FILE-- <?php var_dump(fileinode(".")); var_dump(f..
Decoded Output download
--TEST--
various file stat func tests
--FILE--
<?php
var_dump(fileinode("."));
var_dump(fileowner("."));
var_dump(filegroup("."));
var_dump(fileatime("."));
var_dump(filectime("."));
var_dump(fileinode("./.."));
var_dump(fileowner("./.."));
var_dump(filegroup("./.."));
var_dump(fileatime("./.."));
var_dump(filectime("./.."));
var_dump(fileinode(__FILE__));
var_dump(fileowner(__FILE__));
var_dump(filegroup(__FILE__));
var_dump(fileatime(__FILE__));
var_dump(filectime(__FILE__));
var_dump(fileinode("/no/such/file/or/dir"));
var_dump(fileowner("/no/such/file/or/dir"));
var_dump(filegroup("/no/such/file/or/dir"));
var_dump(fileatime("/no/such/file/or/dir"));
var_dump(filectime("/no/such/file/or/dir"));
echo "Done
";
?>
--EXPECTF--
int(%i)
int(%d)
int(%d)
int(%d)
int(%d)
int(%i)
int(%d)
int(%d)
int(%d)
int(%d)
int(%i)
int(%d)
int(%d)
int(%d)
int(%d)
Warning: fileinode(): stat failed for /no/such/file/or/dir in %s on line %d
bool(false)
Warning: fileowner(): stat failed for /no/such/file/or/dir in %s on line %d
bool(false)
Warning: filegroup(): stat failed for /no/such/file/or/dir in %s on line %d
bool(false)
Warning: fileatime(): stat failed for /no/such/file/or/dir in %s on line %d
bool(false)
Warning: filectime(): stat failed for /no/such/file/or/dir in %s on line %d
bool(false)
Done
Did this file decode correctly?
Original Code
--TEST--
various file stat func tests
--FILE--
<?php
var_dump(fileinode("."));
var_dump(fileowner("."));
var_dump(filegroup("."));
var_dump(fileatime("."));
var_dump(filectime("."));
var_dump(fileinode("./.."));
var_dump(fileowner("./.."));
var_dump(filegroup("./.."));
var_dump(fileatime("./.."));
var_dump(filectime("./.."));
var_dump(fileinode(__FILE__));
var_dump(fileowner(__FILE__));
var_dump(filegroup(__FILE__));
var_dump(fileatime(__FILE__));
var_dump(filectime(__FILE__));
var_dump(fileinode("/no/such/file/or/dir"));
var_dump(fileowner("/no/such/file/or/dir"));
var_dump(filegroup("/no/such/file/or/dir"));
var_dump(fileatime("/no/such/file/or/dir"));
var_dump(filectime("/no/such/file/or/dir"));
echo "Done\n";
?>
--EXPECTF--
int(%i)
int(%d)
int(%d)
int(%d)
int(%d)
int(%i)
int(%d)
int(%d)
int(%d)
int(%d)
int(%i)
int(%d)
int(%d)
int(%d)
int(%d)
Warning: fileinode(): stat failed for /no/such/file/or/dir in %s on line %d
bool(false)
Warning: fileowner(): stat failed for /no/such/file/or/dir in %s on line %d
bool(false)
Warning: filegroup(): stat failed for /no/such/file/or/dir in %s on line %d
bool(false)
Warning: fileatime(): stat failed for /no/such/file/or/dir in %s on line %d
bool(false)
Warning: filectime(): stat failed for /no/such/file/or/dir in %s on line %d
bool(false)
Done
Function Calls
fileinode | 1 |
Stats
MD5 | 41dd4c3bdaf25ec26a60bc1e05e1df2c |
Eval Count | 0 |
Decode Time | 93 ms |