3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ('true') { var_dump(TRUE); } else { var_dump(FALSE); } if ('false') { var_dump(TRUE); } else { var_dump(FALSE); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 5
Branch analysis from position: 1
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
Branch analysis from position: 13
filename:       /in/DO58O
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMPZ                                                     'true', ->5
    4     1    >   INIT_FCALL                                               'var_dump'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                                 
          4      > JMP                                                      ->8
    6     5    >   INIT_FCALL                                               'var_dump'
          6        SEND_VAL                                                 <false>
          7        DO_ICALL                                                 
    9     8    > > JMPZ                                                     'false', ->13
   10     9    >   INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 <true>
         11        DO_ICALL                                                 
         12      > JMP                                                      ->16
   12    13    >   INIT_FCALL                                               'var_dump'
         14        SEND_VAL                                                 <false>
         15        DO_ICALL                                                 
   13    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.53 ms | 1399 KiB | 15 Q