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-- recursive mkdir() tests --FILE-- <?php var_dump(mkdir("mkdir-003/subdir", 0777, ..
Decoded Output download
--TEST--
recursive mkdir() tests
--FILE--
<?php
var_dump(mkdir("mkdir-003/subdir", 0777, true));
var_dump(rmdir("mkdir-003/subdir"));
var_dump(rmdir("mkdir-003"));
var_dump(mkdir("./mkdir-003/subdir", 0777, true));
var_dump(rmdir("./mkdir-003/subdir"));
var_dump(rmdir("./mkdir-003"));
var_dump(mkdir(__DIR__."/mkdir-003/subdir", 0777, true));
var_dump(rmdir(__DIR__."/mkdir-003/subdir"));
var_dump(rmdir(__DIR__."/mkdir-003"));
echo "Done
";
?>
--EXPECT--
bool(true)
bool(true)
bool(true)
bool(true)
bool(true)
bool(true)
bool(true)
bool(true)
bool(true)
Done
Did this file decode correctly?
Original Code
--TEST--
recursive mkdir() tests
--FILE--
<?php
var_dump(mkdir("mkdir-003/subdir", 0777, true));
var_dump(rmdir("mkdir-003/subdir"));
var_dump(rmdir("mkdir-003"));
var_dump(mkdir("./mkdir-003/subdir", 0777, true));
var_dump(rmdir("./mkdir-003/subdir"));
var_dump(rmdir("./mkdir-003"));
var_dump(mkdir(__DIR__."/mkdir-003/subdir", 0777, true));
var_dump(rmdir(__DIR__."/mkdir-003/subdir"));
var_dump(rmdir(__DIR__."/mkdir-003"));
echo "Done\n";
?>
--EXPECT--
bool(true)
bool(true)
bool(true)
bool(true)
bool(true)
bool(true)
bool(true)
bool(true)
bool(true)
Done
Function Calls
mkdir | 1 |
Stats
MD5 | c96be8a35e9bf96358ec0ad63b598c36 |
Eval Count | 0 |
Decode Time | 94 ms |