3v4l.org

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

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

End of function gettest

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.84 ms | 1392 KiB | 13 Q