3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __isset($arg) { echo '__isset called', PHP_EOL; } } $foo = new Foo; echo 'Basic:', PHP_EOL; isset($foo->property); echo 'Deep:', PHP_EOL; isset($foo->property->child);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D389q
function name:  (null)
number of ops:  13
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   NEW                                              $1      'Foo'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   10     3        ECHO                                                     'Basic%3A'
          4        ECHO                                                     '%0A'
   11     5        ISSET_ISEMPTY_PROP_OBJ                           ~4      !0, 'property'
          6        FREE                                                     ~4
   13     7        ECHO                                                     'Deep%3A'
          8        ECHO                                                     '%0A'
   14     9        FETCH_OBJ_IS                                     ~5      !0, 'property'
         10        ISSET_ISEMPTY_PROP_OBJ                           ~6      ~5, 'child'
         11        FREE                                                     ~6
         12      > RETURN                                                   1

Class Foo:
Function __isset:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D389q
function name:  __isset
number of ops:  4
compiled vars:  !0 = $arg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        ECHO                                                     '__isset+called'
          2        ECHO                                                     '%0A'
    5     3      > RETURN                                                   null

End of function __isset

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145 ms | 1007 KiB | 13 Q