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-- Bug #67805 SplFileObject setMaxLineLength --CREDITS-- Willian Gustavo Veiga <cont..
Decoded Output download
--TEST--
Bug #67805 SplFileObject setMaxLineLength
--CREDITS--
Willian Gustavo Veiga <[email protected]>
--FILE--
<?php
$splFileObject = new SplFileObject(__FILE__);
$splFileObject->setMaxLineLen(3);
$line = $splFileObject->getCurrentLine();
var_dump($line === '<?p');
var_dump(strlen($line) === 3);
?>
--EXPECT--
bool(true)
bool(true)
Did this file decode correctly?
Original Code
--TEST--
Bug #67805 SplFileObject setMaxLineLength
--CREDITS--
Willian Gustavo Veiga <[email protected]>
--FILE--
<?php
$splFileObject = new SplFileObject(__FILE__);
$splFileObject->setMaxLineLen(3);
$line = $splFileObject->getCurrentLine();
var_dump($line === '<?p');
var_dump(strlen($line) === 3);
?>
--EXPECT--
bool(true)
bool(true)
Function Calls
None |
Stats
MD5 | 1ddc8bde0a9fbec8021d6ed608ff6334 |
Eval Count | 0 |
Decode Time | 86 ms |