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 #72116 (insertion after array_fill fails) --FILE-- <?php $x = array_fill(0, ..

Decoded Output download

--TEST--
Bug #72116 (insertion after array_fill fails)
--FILE--
<?php

$x = array_fill(0, 1, '..');
$x[] = 'a';
var_dump($x);

?>
--EXPECT--
array(2) {
  [0]=>
  string(2) ".."
  [1]=>
  string(1) "a"
}

Did this file decode correctly?

Original Code

--TEST--
Bug #72116 (insertion after array_fill fails)
--FILE--
<?php

$x = array_fill(0, 1, '..');
$x[] = 'a';
var_dump($x);

?>
--EXPECT--
array(2) {
  [0]=>
  string(2) ".."
  [1]=>
  string(1) "a"
}

Function Calls

array_fill 1

Variables

None

Stats

MD5 2c7e0b283f4034f2c99826452bbdb70b
Eval Count 0
Decode Time 80 ms