3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Person { public function say() { echo "Here are my thoughts!"; } } class Blogger extends Person { const cats = 50; } Blogger::say(); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/m3YI6
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_STATIC_METHOD_CALL                                  'Blogger', 'say'
          1        DO_FCALL                                      0          
   16     2      > RETURN                                                   1

Class Person:
Function say:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/m3YI6
function name:  say
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'Here+are+my+thoughts%21'
    7     1      > RETURN                                                   null

End of function say

End of class Person.

Class Blogger:
Function say:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/m3YI6
function name:  say
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'Here+are+my+thoughts%21'
    7     1      > RETURN                                                   null

End of function say

End of class Blogger.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.4 ms | 1393 KiB | 13 Q