3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array( array('id' => 1, 'title' => 'a', 'parent' => 0), array('id' => 2, 'title' => 'b', 'parent' => 1), array('id' => 3, 'title' => 'c', 'parent' => 1), array('id' => 5, 'title' => 'e', 'parent' => 0), array('id' => 6, 'title' => 'f', 'parent' => 5), array('id' => 7, 'title' => 'g', 'parent' => 5), array('id' => 8, 'title' => 'h', 'parent' => 0), array('id' => 9, 'title' => 'k', 'parent' => 8), array('id' => 10, 'title' => 'l', 'parent' => 8), array('id' => 11, 'title' => 'm', 'parent' => 10), array('id' => 12, 'title' => 'n', 'parent' => 10), ); function lookForParent($array, $id, $title) { $return = array(); for($i = 0; $i <= count($array); $i++) { //Look for the parent on the second level if(isset($array[$i][$id])) { $return[$i][$id][] = $title; break; } else { if(!empty($array[$i])) { $return_val = lookForParent($array[$i], $id, $title); if(!empty($return_val)) { $return[$i][$id][] = $return_val; break; } } } } return $return; } $new = array(); foreach($arr as $val) { if($val['parent'] > 0) { if(isset($new[$val['parent']])) { //Look if the parent exist on the first level $new[$val['parent']][$val['id']][] = $val['title']; } else { for($i = 0; $i <= count($new); $i++) { $return = lookForParent($new[$i], $val['id'], $val['title']); if(!empty($return)) { $new = array_merge($new, $return); } } } } else { $new[$val['id']][] = $val['title']; } } var_dump($new);
Output for 7.2.0
Notice: Undefined offset: 0 in /in/krMGK on line 44 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count(): Parameter must be an array or an object that implements Countable in /in/krMGK on line 19 Warning: count
Process exited with code 137.
Output for 7.0.0 - 7.1.10
Notice: Undefined offset: 0 in /in/krMGK on line 44 Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 262144 bytes) in /in/krMGK on line 24
Process exited with code 255.
Output for 5.6.8 - 5.6.28
Notice: Undefined offset: 0 in /in/krMGK on line 44 Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /in/krMGK on line 20
Process exited with code 255.
Output for 5.5.24 - 5.5.35
Notice: Undefined offset: 0 in /in/krMGK on line 44 Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 130968 bytes) in /in/krMGK on line 25
Process exited with code 255.
Output for 5.4.0 - 5.4.45
Notice: Undefined offset: 0 in /in/krMGK on line 44 Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /in/krMGK on line 18
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Notice: Undefined offset: 0 in /in/krMGK on line 44 Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 523800 bytes) in /in/krMGK on line 25
Process exited with code 255.
Output for 4.3.3 - 5.2.17
Notice: Undefined offset: 0 in /in/krMGK on line 44
Process exited with code 139.
Output for 4.3.0 - 4.3.2
Notice: Undefined offset: 0 in /in/krMGK on line 44 Notice: Uninitialized string offset: 11 in /in/krMGK on line 20
Process exited with code 139.