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-- ReflectionFunction::isDisabled --CREDITS-- Stefan Koopmanschap <[email protected]> ..
Decoded Output download
--TEST--
ReflectionFunction::isDisabled
--CREDITS--
Stefan Koopmanschap <[email protected]>
TestFest PHP|Tek
--INI--
disable_functions=is_file
--FILE--
<?php
try {
$rf = new ReflectionFunction('is_file');
var_dump($rf->isDisabled());
} catch (ReflectionException $e) {
echo $e->getMessage(), "
";
}
$rf = new ReflectionFunction('is_string');
var_dump($rf->isDisabled());
?>
--EXPECTF--
Function is_file() does not exist
Deprecated: Method ReflectionFunction::isDisabled() is deprecated in %s on line %d
bool(false)
Did this file decode correctly?
Original Code
--TEST--
ReflectionFunction::isDisabled
--CREDITS--
Stefan Koopmanschap <[email protected]>
TestFest PHP|Tek
--INI--
disable_functions=is_file
--FILE--
<?php
try {
$rf = new ReflectionFunction('is_file');
var_dump($rf->isDisabled());
} catch (ReflectionException $e) {
echo $e->getMessage(), "\n";
}
$rf = new ReflectionFunction('is_string');
var_dump($rf->isDisabled());
?>
--EXPECTF--
Function is_file() does not exist
Deprecated: Method ReflectionFunction::isDisabled() is deprecated in %s on line %d
bool(false)
Function Calls
None |
Stats
MD5 | ebdee39cdfdee5081588fdd184d40ad1 |
Eval Count | 0 |
Decode Time | 84 ms |