3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a1 = array("123", "45", "678"); sort($a1); var_dump($a1); $a2 = array("45", "678", "123"); sort($a2); var_dump($a2); $a3 = array("123", "45", "678"); sort($a3); var_dump($a3);
based on 6C6Il

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties
array(3) { [0]=> string(2) "45" [1]=> string(3) "123" [2]=> string(3) "678" } array(3) { [0]=> string(2) "45" [1]=> string(3) "123" [2]=> string(3) "678" } array(3) { [0]=> string(2) "45" [1]=> string(3) "123" [2]=> string(3) "678" }

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