3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( 0b1010, "10" == "0b1010", // false 012, "10" == "012", // false 0xa, "10" == "0xa", // true 1E+1, "10" == "1E+1", // true 1e1, "10" == "1e1", // true 10.0, "10" == "10.0", // true +10, "10" == "+10" // true );
Output for git.master, git.master_jit, rfc.property-hooks
int(10) bool(false) int(10) bool(false) int(10) bool(false) float(10) bool(true) float(10) bool(true) float(10) bool(true) int(10) 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:
48.83 ms | 401 KiB | 8 Q