3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data[] = array('title' => 'hello', 'attributes' => array('id' => 4, 'startdate' => '2013-06-11')); $data[] = array('title' => 'hello second entry', 'attributes' => array('id' => 6, 'startdate' => '2013-04-11')); print "Inital Data\n"; print_r($data); print "\n"; print "Sorted Data\n"; print_r($data); print "\n";
Output for git.master, git.master_jit, rfc.property-hooks
Inital Data Array ( [0] => Array ( [title] => hello [attributes] => Array ( [id] => 4 [startdate] => 2013-06-11 ) ) [1] => Array ( [title] => hello second entry [attributes] => Array ( [id] => 6 [startdate] => 2013-04-11 ) ) ) Sorted Data Array ( [0] => Array ( [title] => hello [attributes] => Array ( [id] => 4 [startdate] => 2013-06-11 ) ) [1] => Array ( [title] => hello second entry [attributes] => Array ( [id] => 6 [startdate] => 2013-04-11 ) ) )

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:
42.07 ms | 403 KiB | 8 Q