3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(empty($test)); var_dump(isset($test) && is_null($test)); // undefined
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/g7AEo
function name:  (null)
number of ops:  12
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        ISSET_ISEMPTY_CV                                 ~1      !0
          2        SEND_VAL                                                 ~1
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'var_dump'
          5        ISSET_ISEMPTY_CV                                 ~3      !0
          6      > JMPZ_EX                                          ~3      ~3, ->9
          7    >   TYPE_CHECK                                    2  ~4      !0
          8        BOOL                                             ~3      ~4
          9    >   SEND_VAL                                                 ~3
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.94 ms | 1394 KiB | 15 Q