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) => $row['score'] = 0 ); var_export($array);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
160.48 ms | 1489 KiB | 10 Q