3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($cond) doThis(); else doThat();
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 4
Branch analysis from position: 1
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/E4b4T
function name:  (null)
number of ops:  7
compiled vars:  !0 = $cond
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > JMPZ                                                     !0, ->4
    3     1    >   INIT_FCALL_BY_NAME                                       'doThis'
          2        DO_FCALL                                      0          
          3      > JMP                                                      ->6
    5     4    >   INIT_FCALL_BY_NAME                                       'doThat'
          5        DO_FCALL                                      0          
          6    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.08 ms | 1396 KiB | 13 Q