3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { private $name = 'Alice'; public function getName() { return $this->name; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FikXc
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E > > RETURN                                                   1

Class foo:
Function getname:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FikXc
function name:  getName
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   FETCH_OBJ_R                                      ~0      'name'
          1      > RETURN                                                   ~0
   10     2*     > RETURN                                                   null

End of function getname

End of class foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.79 ms | 1392 KiB | 13 Q