3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(define("TRUE", false)); var_dump(TRUE); if (TRUE) echo "Welp!"; else echo "Nope, it worked. Good practical joke I guess.";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ITfFQ
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'define'
          2        SEND_VAL                                                 'TRUE'
          3        SEND_VAL                                                 <false>
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
    3     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                                 
    5    10      > JMPZ                                                     <true>, ->13
    6    11    >   ECHO                                                     'Welp%21'
         12      > JMP                                                      ->14
    8    13    >   ECHO                                                     'Nope%2C+it+worked.+Good+practical+joke+I+guess.'
         14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.83 ms | 1399 KiB | 17 Q