3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump('abc' < 10); $x = array('abc', 'ddd', 'bbb', 10, 'www', 0); sort($x); var_dump($x); $x = array('abc', 'ddd', 'bbb', 0, 'www', 10); sort($x); var_dump($x); $x = array('abc', 0, 'aaa', 10); sort($x); var_dump($x); $x = array(0, 'aaa', 10, 5, 'a', 'wat'); sort($x); var_dump($x);
Output for git.master, git.master_jit, rfc.property-hooks
bool(false) array(6) { [0]=> int(0) [1]=> int(10) [2]=> string(3) "abc" [3]=> string(3) "bbb" [4]=> string(3) "ddd" [5]=> string(3) "www" } array(6) { [0]=> int(0) [1]=> int(10) [2]=> string(3) "abc" [3]=> string(3) "bbb" [4]=> string(3) "ddd" [5]=> string(3) "www" } array(4) { [0]=> int(0) [1]=> int(10) [2]=> string(3) "aaa" [3]=> string(3) "abc" } array(6) { [0]=> int(0) [1]=> int(5) [2]=> int(10) [3]=> string(1) "a" [4]=> string(3) "aaa" [5]=> string(3) "wat" }

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:
43.54 ms | 402 KiB | 8 Q