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);
Output for git.master_jit, git.master
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, ), )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
55.79 ms | 406 KiB | 5 Q