3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new ArrayObject(); $a['null'] = null; var_dump($a->offsetExists('null')); var_dump(isset($a['null']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EsU4W
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'ArrayObject'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    3     3        ASSIGN_DIM                                               !0, 'null'
          4        OP_DATA                                                  null
    4     5        INIT_FCALL                                               'var_dump'
          6        INIT_METHOD_CALL                                         !0, 'offsetExists'
          7        SEND_VAL_EX                                              'null'
          8        DO_FCALL                                      0  $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                                 
    5    11        INIT_FCALL                                               'var_dump'
         12        ISSET_ISEMPTY_DIM_OBJ                         0  ~7      !0, 'null'
         13        SEND_VAL                                                 ~7
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.5 ms | 1394 KiB | 15 Q