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 #67693 - incorrect push to empty array --FILE-- <?php $array = array(-1 => 0..
Decoded Output download
--TEST--
Bug #67693 - incorrect push to empty array
--FILE--
<?php
$array = array(-1 => 0);
array_pop($array);
array_push($array, 0);
array_push($array, 0);
var_dump($array);
echo"
Done";
?>
--EXPECT--
array(2) {
[-1]=>
int(0)
[0]=>
int(0)
}
Done
Did this file decode correctly?
Original Code
--TEST--
Bug #67693 - incorrect push to empty array
--FILE--
<?php
$array = array(-1 => 0);
array_pop($array);
array_push($array, 0);
array_push($array, 0);
var_dump($array);
echo"\nDone";
?>
--EXPECT--
array(2) {
[-1]=>
int(0)
[0]=>
int(0)
}
Done
Function Calls
array_pop | 1 |
Stats
MD5 | 959ed3ecd7ba280b811bad6607772c15 |
Eval Count | 0 |
Decode Time | 86 ms |