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-- SPL: FixedArray: accessing uninitialized array --FILE-- <?php try { $a = new..
Decoded Output download
--TEST--
SPL: FixedArray: accessing uninitialized array
--FILE--
<?php
try {
$a = new SplFixedArray('');
} catch (TypeError $iae) {
echo "Ok - ".$iae->getMessage().PHP_EOL;
}
echo "Done
";
?>
--EXPECT--
Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, string given
Done
Did this file decode correctly?
Original Code
--TEST--
SPL: FixedArray: accessing uninitialized array
--FILE--
<?php
try {
$a = new SplFixedArray('');
} catch (TypeError $iae) {
echo "Ok - ".$iae->getMessage().PHP_EOL;
}
echo "Done\n";
?>
--EXPECT--
Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, string given
Done
Function Calls
None |
Stats
MD5 | 5e74af5a1f5d1726806dd4a8ce94d207 |
Eval Count | 0 |
Decode Time | 80 ms |