3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo{ public $bar = null; } $a = null; $b = new foo(); var_dump(isset($a)); var_dump(isset($b->bar));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QUbFG
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, null
    8     1        NEW                                              $3      'foo'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $3
    9     4        INIT_FCALL                                               'var_dump'
          5        ISSET_ISEMPTY_CV                                 ~6      !0
          6        SEND_VAL                                                 ~6
          7        DO_ICALL                                                 
   10     8        INIT_FCALL                                               'var_dump'
          9        ISSET_ISEMPTY_PROP_OBJ                           ~8      !1, 'bar'
         10        SEND_VAL                                                 ~8
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Class foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.53 ms | 1394 KiB | 15 Q