3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { public function action() { function getThatProperty() { } } } $a = new MyClass(); $a->action(); $a->action(); function getThatProperty() { }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X8stb
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   NEW                                              $1      'MyClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   11     3        INIT_METHOD_CALL                                         !0, 'action'
          4        DO_FCALL                                      0          
   12     5        INIT_METHOD_CALL                                         !0, 'action'
          6        DO_FCALL                                      0          
   14     7      > RETURN                                                   1

Function %00getthatproperty%2Fin%2FX8stb%3A6%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X8stb
function name:  getThatProperty
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E > > RETURN                                                   null

End of function %00getthatproperty%2Fin%2FX8stb%3A6%240

Function getthatproperty:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X8stb
function name:  getThatProperty
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E > > RETURN                                                   null

End of function getthatproperty

Class MyClass:
Function action:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X8stb
function name:  action
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   DECLARE_FUNCTION                                         'getthatproperty'
    8     1      > RETURN                                                   null

End of function action

End of class MyClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.21 ms | 1394 KiB | 13 Q