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 4..
Decoded Output download
--TEST--
Bug #70239 Creating a huge array doesn't result in exhausted, but segfault, var 4
--FILE--
<?php
try {
var_dump(range(PHP_INT_MIN, 0));
} catch (\ValueError $e) {
echo $e->getMessage() . "
";
}
?>
--EXPECTF--
The supplied range exceeds the maximum array size: start=-%d end=0
Did this file decode correctly?
Original Code
--TEST--
Bug #70239 Creating a huge array doesn't result in exhausted, but segfault, var 4
--FILE--
<?php
try {
var_dump(range(PHP_INT_MIN, 0));
} catch (\ValueError $e) {
echo $e->getMessage() . "\n";
}
?>
--EXPECTF--
The supplied range exceeds the maximum array size: start=-%d end=0
Function Calls
None |
Stats
MD5 | 9f5989b1d942a1ade84bf54851f5784e |
Eval Count | 0 |
Decode Time | 79 ms |