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 #61058 (array_fill leaks if start index is PHP_INT_MAX) --FILE-- <?php try {..

Decoded Output download

--TEST--
Bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
--FILE--
<?php

try {
    array_fill(PHP_INT_MAX, 2, '*');
} catch (\Error $e) {
    echo $e->getMessage() . "
";
}
?>
--EXPECT--
Cannot add element to the array as the next element is already occupied

Did this file decode correctly?

Original Code

--TEST--
Bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
--FILE--
<?php

try {
    array_fill(PHP_INT_MAX, 2, '*');
} catch (\Error $e) {
    echo $e->getMessage() . "\n";
}
?>
--EXPECT--
Cannot add element to the array as the next element is already occupied

Function Calls

None

Variables

None

Stats

MD5 ec862586bec15711ec643528a253ae8d
Eval Count 0
Decode Time 88 ms