3v4l.org

run code in 300+ PHP versions simultaneously
<?php print("\"6\" == \" 6\" : "); var_dump("6" == " 6"); print('"4.2" == "4.20" : '); var_dump("4.2" == "4.20"); print('"133" == "0133" : '); var_dump("133" == "0133"); print('133 == 0133 : '); var_dump(133 == 0133); print('"0x10" == "16" : '); var_dump("0x10" == "16"); print('"1e3" == "1000" : '); var_dump("1e3" == "1000");
Output for git.master, git.master_jit, rfc.property-hooks
"6" == " 6" : bool(true) "4.2" == "4.20" : bool(true) "133" == "0133" : bool(true) 133 == 0133 : bool(false) "0x10" == "16" : bool(false) "1e3" == "1000" : bool(true)

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:
41.37 ms | 401 KiB | 8 Q