3v4l.org

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

Class foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.09 ms | 1395 KiB | 17 Q