3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d=array(); $d['y'][0]['year'] = 2000; $d['y'][1]['year'] = 2001; $d['y'][2]['year'] = 2002; $d['y'][3]['year'] = 2003; $d['y'][4]['year'] = 2004; $d['y'][5]['year'] = 2005; arsort($d['y']); function showData($value,$key){ echo "$value\n"; } array_walk_recursive( $d, 'showData');
Output for git.master, git.master_jit, rfc.property-hooks
2005 2004 2003 2002 2001 2000

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:
177.15 ms | 405 KiB | 5 Q