3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (isset($blah) && (boolean) $blah) { var_dump('yes'); }
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 = 8
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
Branch analysis from position: 4
filename:       /in/lpens
function name:  (null)
number of ops:  9
compiled vars:  !0 = $blah
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ISSET_ISEMPTY_CV                                 ~1      !0
          1      > JMPZ_EX                                          ~1      ~1, ->4
          2    >   BOOL                                             ~2      !0
          3        BOOL                                             ~1      ~2
          4    > > JMPZ                                                     ~1, ->8
    6     5    >   INIT_FCALL                                               'var_dump'
          6        SEND_VAL                                                 'yes'
          7        DO_ICALL                                                 
    7     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.58 ms | 1394 KiB | 15 Q