3v4l.org

run code in 300+ PHP versions simultaneously
<?php class T{ public $a = 1; public $b = null; } $t = new T; var_dump(isset($t->a)); var_dump(isset($t->b)); var_dump(property_exists($t, a)); var_dump(property_exists($t, b));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/On79B
function name:  (null)
number of ops:  28
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   NEW                                              $1      'T'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    8     3        INIT_FCALL                                               'var_dump'
          4        ISSET_ISEMPTY_PROP_OBJ                           ~4      !0, 'a'
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                                 
    9     7        INIT_FCALL                                               'var_dump'
          8        ISSET_ISEMPTY_PROP_OBJ                           ~6      !0, 'b'
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                                 
   10    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'property_exists'
         13        SEND_VAR                                                 !0
         14        FETCH_CONSTANT                                   ~8      'a'
         15        SEND_VAL                                                 ~8
         16        DO_ICALL                                         $9      
         17        SEND_VAR                                                 $9
         18        DO_ICALL                                                 
   11    19        INIT_FCALL                                               'var_dump'
         20        INIT_FCALL                                               'property_exists'
         21        SEND_VAR                                                 !0
         22        FETCH_CONSTANT                                   ~11     'b'
         23        SEND_VAL                                                 ~11
         24        DO_ICALL                                         $12     
         25        SEND_VAR                                                 $12
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Class T: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.61 ms | 1395 KiB | 17 Q