3v4l.org

run code in 300+ PHP versions simultaneously
<?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/' ] ]; array_walk( $array, fn(&$row, $_, $new) => $row += $new, ['score' => 0] ); var_export($array);
Output for 8.1.32 - 8.1.34, 8.2.0 - 8.2.30, 8.3.0 - 8.3.30, 8.4.1 - 8.4.18, 8.5.0 - 8.5.3
array ( 0 => array ( 'title' => 'Ireland - Wikipedia, the free encyclopedia', 'url' => 'http://example.com/wiki/Ireland', 'score' => 0, ), 1 => array ( 'title' => 'Ireland\'s home for accommodation, activities.', 'url' => 'http://www.example.com/', 'score' => 0, ), )

preferences:
47.65 ms | 875 KiB | 4 Q