<?php $array = [ [ 'title' => 'Ireland - Wikipedia, the free encyclopedia', 'url' => 'http://example.com/wiki/Ireland' ], [ 'title' => 'Ireland\'s home for accommodation, activities.', 'url' => 'http://www.example.com/' ] ]; foreach ($array as &$row) { $row += ['score' => 0]; } var_export($array);
You have javascript disabled. You will not be able to edit any code.