3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php list($row1, $row2) = array_chunk($_productCollection, 4);
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: _productCollection in /in/uSfbp on line 2 Warning: array_chunk() expects parameter 1 to be array, null given in /in/uSfbp on line 2
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: _productCollection in /in/uSfbp on line 2 Warning: array_chunk() expects parameter 1 to be array, null given in /in/uSfbp on line 2