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-- SplFileObject::seek function - test parameters --FILE-- <?php $obj = new SplFileO..
Decoded Output download
--TEST--
SplFileObject::seek function - test parameters
--FILE--
<?php
$obj = new SplFileObject(__FILE__);
try {
$obj->seek(-1);
} catch (\ValueError $e) {
echo($e->getMessage());
}
?>
--EXPECT--
SplFileObject::seek(): Argument #1 ($line) must be greater than or equal to 0
Did this file decode correctly?
Original Code
--TEST--
SplFileObject::seek function - test parameters
--FILE--
<?php
$obj = new SplFileObject(__FILE__);
try {
$obj->seek(-1);
} catch (\ValueError $e) {
echo($e->getMessage());
}
?>
--EXPECT--
SplFileObject::seek(): Argument #1 ($line) must be greater than or equal to 0
Function Calls
None |
Stats
MD5 | 7874f550ba401e60bfe217af9a988857 |
Eval Count | 0 |
Decode Time | 87 ms |