<?php $data = [['el1','el2'],['el3','el4'],]; foreach($data as $ind=>&$ar){ $ar[] = 'el new'; } print_r($data);
You have javascript disabled. You will not be able to edit any code.