3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = ["123", "45b", "78"]; $array2 = ["123", "78", "45b"]; $array3 = ["45b", "123", "78"]; sort($array1); sort($array2); sort($array3); var_dump($array1); var_dump($array2); var_dump($array3);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> string(3) "123" [1]=> string(3) "45b" [2]=> string(2) "78" } array(3) { [0]=> string(3) "45b" [1]=> string(2) "78" [2]=> string(3) "123" } array(3) { [0]=> string(2) "78" [1]=> string(3) "123" [2]=> string(3) "45b" }

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:
175.45 ms | 406 KiB | 5 Q