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 #70239 Creating a huge array doesn't result in exhausted, but segfault, var 1..
Decoded Output download
--TEST--
Bug #70239 Creating a huge array doesn't result in exhausted, but segfault, var 1
--FILE--
<?php
try {
range(0, pow(2.0, 100000000));
} catch (\ValueError $e) {
echo $e->getMessage() . "
";
}
?>
--EXPECT--
Invalid range supplied: start=0 end=inf
Did this file decode correctly?
Original Code
--TEST--
Bug #70239 Creating a huge array doesn't result in exhausted, but segfault, var 1
--FILE--
<?php
try {
range(0, pow(2.0, 100000000));
} catch (\ValueError $e) {
echo $e->getMessage() . "\n";
}
?>
--EXPECT--
Invalid range supplied: start=0 end=inf
Function Calls
None |
Stats
MD5 | 6305b992341b75dc3256d25edd0d5744 |
Eval Count | 0 |
Decode Time | 84 ms |