<?php $a = [[1,2],'3']; foreach($a as $k => $b) { $a[$k][] = 3; } print_r($a);
You have javascript disabled. You will not be able to edit any code.