3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(empty( $var )); var_dump( isset( $var ) && $var == NULL ); var_dump(is_null($var)); var_dump($var === NULL);
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/s7hi2
function name:  (null)
number of ops:  20
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        ISSET_ISEMPTY_CV                                 ~1      !0
          2        SEND_VAL                                                 ~1
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'var_dump'
          5        ISSET_ISEMPTY_CV                                 ~3      !0
          6      > JMPZ_EX                                          ~3      ~3, ->9
          7    >   IS_EQUAL                                         ~4      !0, null
          8        BOOL                                             ~3      ~4
          9    >   SEND_VAL                                                 ~3
         10        DO_ICALL                                                 
    5    11        INIT_FCALL                                               'var_dump'
         12        TYPE_CHECK                                    2  ~6      !0
         13        SEND_VAL                                                 ~6
         14        DO_ICALL                                                 
    6    15        INIT_FCALL                                               'var_dump'
         16        TYPE_CHECK                                    2  ~8      !0
         17        SEND_VAL                                                 ~8
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.84 ms | 1395 KiB | 15 Q