3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Dumb{ function __construct() { echo "I'm dumb!"; } } class Idiot extends Dumb{ function __construct() { echo "I'm dumb!"; } function method() { parent::__construct(); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FifjD
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E > > RETURN                                                   1

Class Dumb:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FifjD
function name:  __construct
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'I%27m+dumb%21'
    8     1      > RETURN                                                   null

End of function __construct

End of class Dumb.

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

End of function __construct

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

End of function method

End of class Idiot.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.57 ms | 1393 KiB | 13 Q