3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ola { public static function dothing() { echo "\nLILIANA\n"; } } class OlA { public static function dothing() { echo "\nHUGO\n"; } } ola::dothing(); echo "hhh"; OLA::dothing();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ln1Du
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   DECLARE_CLASS                                            'ola'
   19     1        INIT_STATIC_METHOD_CALL                                  'ola', 'dothing'
          2        DO_FCALL                                      0          
   20     3        ECHO                                                     'hhh'
   21     4        INIT_STATIC_METHOD_CALL                                  'OLA', 'dothing'
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Class ola:
Function dothing:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ln1Du
function name:  dothing
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     '%0ALILIANA%0A'
    7     1      > RETURN                                                   null

End of function dothing

End of class ola.

Class OlA:
Function dothing:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ln1Du
function name:  dothing
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   ECHO                                                     '%0AHUGO%0A'
   16     1      > RETURN                                                   null

End of function dothing

End of class OlA.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.47 ms | 1394 KiB | 13 Q