3v4l.org

run code in 300+ PHP versions simultaneously
<?php class HTMLParser { function HTML2XHTMLConverter() { echo "A::B()\n"; } } class HTML2XHTMLConverter extends HTMLParser { function HTML2XHTMLConverter() { $this->HTMLParser(); echo "B::B()\n"; } } new HTML2XHTMLConverter();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SN5pK
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   NEW                                              $0      'HTML2XHTMLConverter'
          1        DO_FCALL                                      0          
          2        FREE                                                     $0
          3      > RETURN                                                   1

Class HTMLParser:
Function html2xhtmlconverter:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SN5pK
function name:  HTML2XHTMLConverter
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'A%3A%3AB%28%29%0A'
    8     1      > RETURN                                                   null

End of function html2xhtmlconverter

End of class HTMLParser.

Class HTML2XHTMLConverter:
Function html2xhtmlconverter:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SN5pK
function name:  HTML2XHTMLConverter
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   INIT_METHOD_CALL                                         'HTMLParser'
          1        DO_FCALL                                      0          
   16     2        ECHO                                                     'B%3A%3AB%28%29%0A'
   17     3      > RETURN                                                   null

End of function html2xhtmlconverter

End of class HTML2XHTMLConverter.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.6 ms | 1394 KiB | 13 Q