3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.22 ms | 1394 KiB | 15 Q