3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('TRUE', false); define('FALSE', true); var_dump(TRUE, true, FALSE, false);
Output for git.master, git.master_jit
Warning: Constant TRUE already defined, this will be an error in PHP 9 in /in/4Ze6h on line 2 Warning: Constant FALSE already defined, this will be an error in PHP 9 in /in/4Ze6h on line 3 bool(true) bool(true) bool(false) bool(false)
Output for rfc.property-hooks
Warning: Constant TRUE already defined in /in/4Ze6h on line 2 Warning: Constant FALSE already defined in /in/4Ze6h on line 3 bool(true) bool(true) bool(false) bool(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:
58.23 ms | 2465 KiB | 4 Q