3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else if ( !1 // Make sure that this is still false! ) { } else { if ( !1 // One last check! ) { __halt_compiler() // BAIL OUT, MAJOR /MAJOR/ ISSUES! ; } $emphasis = "!" // We may change this later ; echo "good" . " " . "programming" . $emphasis ; // Semi-colon on next line always! }
Output for 5.3.0 - 5.3.22, 5.3.24, 5.4.0 - 5.4.12, 5.4.14
Fatal error: __HALT_COMPILER() can only be used from the outermost scope in rnJue on line 604
Process exited with code 255.
Output for 5.3.23, 5.4.13
Fatal error: __HALT_COMPILER() can only be used from the outermost scope in /in/6JOB5 on line 604
Process exited with code 255.

preferences:
190.73 ms | 1395 KiB | 47 Q