3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('TRUE', false); var_dump(true); var_dump(TRUE); var_dump(constant('TRUE')); var_dump(constant('true')); var_dump( true === TRUE ); var_dump();
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Constant TRUE already defined in /in/bWDn0 on line 3 bool(true) bool(true) bool(true) bool(true) bool(true) Fatal error: Uncaught ArgumentCountError: var_dump() expects at least 1 argument, 0 given in /in/bWDn0:11 Stack trace: #0 /in/bWDn0(11): var_dump() #1 {main} thrown in /in/bWDn0 on line 11
Process exited with code 255.

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