3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ( true && true ){ echo "true && true\n"; } if ( true && false ){ echo "true && false\n"; } if ( false && false ){ echo "false && false\n"; } if ( true and true ){ echo "true and true\n"; } if ( true and !false ){ echo "true and !false\n"; } if ( !false and true and true){ echo "!false and true\n"; } if ( false and false ){ echo "false and false\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
true && true true and true true and !false !false and 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:
60.83 ms | 401 KiB | 8 Q