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-- ReflectionParameter::__toString() --CREDITS-- Stefan Koopmanschap <stefan@stefank..
Decoded Output download
--TEST--
ReflectionParameter::__toString()
--CREDITS--
Stefan Koopmanschap <[email protected]>
--FILE--
<?php
function ReflectionParameterTest($test, $test2 = null) {
echo $test;
}
$reflect = new ReflectionFunction('ReflectionParameterTest');
foreach($reflect->getParameters() as $key => $value) {
echo new ReflectionParameter('ReflectionParameterTest', $key), "
";
}
?>
--EXPECT--
Parameter #0 [ <required> $test ]
Parameter #1 [ <optional> $test2 = NULL ]
Did this file decode correctly?
Original Code
--TEST--
ReflectionParameter::__toString()
--CREDITS--
Stefan Koopmanschap <[email protected]>
--FILE--
<?php
function ReflectionParameterTest($test, $test2 = null) {
echo $test;
}
$reflect = new ReflectionFunction('ReflectionParameterTest');
foreach($reflect->getParameters() as $key => $value) {
echo new ReflectionParameter('ReflectionParameterTest', $key), "\n";
}
?>
--EXPECT--
Parameter #0 [ <required> $test ]
Parameter #1 [ <optional> $test2 = NULL ]
Function Calls
None |
Stats
MD5 | 2769ae63df7fff15dbbe99546c60167e |
Eval Count | 0 |
Decode Time | 81 ms |