3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.41 ms | 1393 KiB | 15 Q