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);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
168.47 ms | 1490 KiB | 10 Q