3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = NULL; echo "print_r of x:\n"; print_r($x); echo "\n\nis_null of x:\n"; print_r(is_null($x)); echo "\n\nisset of x:\n"; print_r(isset($x));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ahder
function name:  (null)
number of ops:  16
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, null
    5     1        ECHO                                                     'print_r+of+x%3A%0A'
    6     2        INIT_FCALL                                               'print_r'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    8     5        ECHO                                                     '%0A%0Ais_null+of+x%3A%0A'
    9     6        INIT_FCALL                                               'print_r'
          7        TYPE_CHECK                                    2  ~3      !0
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                                 
   11    10        ECHO                                                     '%0A%0Aisset+of+x%3A%0A'
   12    11        INIT_FCALL                                               'print_r'
         12        ISSET_ISEMPTY_CV                                 ~5      !0
         13        SEND_VAL                                                 ~5
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
279.37 ms | 1394 KiB | 16 Q