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-- array_chunk() - variation 26 --FILE-- <?php $array =array (0); var_dump ($array);..

Decoded Output download

--TEST--
array_chunk() - variation 26
--FILE--
<?php
$array =array (0);
var_dump ($array);
for ($i = 1; $i < (sizeof($array) + 1); $i++) {
    echo "[$i]
";
    var_dump (array_chunk ($array, $i));
    var_dump (array_chunk ($array, $i, TRUE));
    var_dump (array_chunk ($array, $i, FALSE));
    echo "
";
}
?>
--EXPECT--
array(1) {
  [0]=>
  int(0)
}
[1]
array(1) {
  [0]=>
  array(1) {
    [0]=>
    int(0)
  }
}
array(1) {
  [0]=>
  array(1) {
    [0]=>
    int(0)
  }
}
array(1) {
  [0]=>
  array(1) {
    [0]=>
    int(0)
  }
}

Did this file decode correctly?

Original Code

--TEST--
array_chunk() - variation 26
--FILE--
<?php
$array =array (0);
var_dump ($array);
for ($i = 1; $i < (sizeof($array) + 1); $i++) {
    echo "[$i]\n";
    var_dump (array_chunk ($array, $i));
    var_dump (array_chunk ($array, $i, TRUE));
    var_dump (array_chunk ($array, $i, FALSE));
    echo "\n";
}
?>
--EXPECT--
array(1) {
  [0]=>
  int(0)
}
[1]
array(1) {
  [0]=>
  array(1) {
    [0]=>
    int(0)
  }
}
array(1) {
  [0]=>
  array(1) {
    [0]=>
    int(0)
  }
}
array(1) {
  [0]=>
  array(1) {
    [0]=>
    int(0)
  }
}

Function Calls

var_dump 1

Variables

$array [{'key': 0, 'value': 0}]

Stats

MD5 d8ce453ee0378a528bf52c90c582aa3a
Eval Count 0
Decode Time 85 ms