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 #72888 (Segfault on clone on splFileObject) --FILE-- <?php $x = new SplFileOb..
Decoded Output download
--TEST--
Bug #72888 (Segfault on clone on splFileObject)
--FILE--
<?php
$x = new SplFileObject(__FILE__);
try {
$y=clone $x;
} catch (Error $e) {
var_dump($e->getMessage());
}
var_dump($y);
?>
--EXPECTF--
string(60) "Trying to clone an uncloneable object of class SplFileObject"
Warning: Undefined variable $y in %s on line %d
NULL
Did this file decode correctly?
Original Code
--TEST--
Bug #72888 (Segfault on clone on splFileObject)
--FILE--
<?php
$x = new SplFileObject(__FILE__);
try {
$y=clone $x;
} catch (Error $e) {
var_dump($e->getMessage());
}
var_dump($y);
?>
--EXPECTF--
string(60) "Trying to clone an uncloneable object of class SplFileObject"
Warning: Undefined variable $y in %s on line %d
NULL
Function Calls
None |
Stats
MD5 | 745e272c8b6f8e9200840cc8cbda8769 |
Eval Count | 0 |
Decode Time | 89 ms |