3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( array( 'id' => 7, 'title' => 'Pongal', 'start' => '2016-05-16' ), array( 'id' => 7, 'title' => 'Mongok', 'start' => '2016-05-16' ) ); foreach($arr as $key => &$val){ $val['color'] = 'red'; } print_r($arr);

preferences:
25.29 ms | 404 KiB | 5 Q