3v4l.org

run code in 300+ PHP versions simultaneously
<?php define(true, false); if ( true ) { echo 'tru'; } else { echo 'false'; }

preferences:
30.18 ms | 402 KiB | 5 Q