3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($foo = 'bar' AND 'bar' === $foo) { var_dump('Yep!'); } else { var_dump('WUT?'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 2, Position 2 = 4
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
filename:       /in/8sAD0
function name:  (null)
number of ops:  13
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                           ~1      !0, 'bar'
          1      > JMPZ_EX                                          ~1      ~1, ->4
          2    >   IS_IDENTICAL                                     ~2      !0, 'bar'
          3        BOOL                                             ~1      ~2
          4    > > JMPZ                                                     ~1, ->9
    4     5    >   INIT_FCALL                                               'var_dump'
          6        SEND_VAL                                                 'Yep%21'
          7        DO_ICALL                                                 
          8      > JMP                                                      ->12
    6     9    >   INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 'WUT%3F'
         11        DO_ICALL                                                 
    7    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.1 ms | 1386 KiB | 15 Q