3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo is_bool(false); echo is_bool(null)? 1 : ' null '; echo is_bool(true); function test(){ return 0; } var_dump(test()); echo (int)(bool)""; // 0 echo 0; // "0"; var_dump((bool)(string)0); // ""?
Output for git.master, git.master_jit, rfc.property-hooks
1 null 1int(0) 00bool(false)

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