3v4l.org

run code in 300+ PHP versions simultaneously
<?php class P { function __construct() { echo 'sssss'; } function p() { echo 'sssss'; } } class C extends p { function __construct() {} function d() {} } new p; new c;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/N6WD4
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   NEW                                              $0      'p'
          1        DO_FCALL                                      0          
          2        FREE                                                     $0
   17     3        NEW                                              $2      'c'
          4        DO_FCALL                                      0          
          5        FREE                                                     $2
          6      > RETURN                                                   1

Class P:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/N6WD4
function name:  __construct
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     'sssss'
    5     1      > RETURN                                                   null

End of function __construct

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

End of function p

End of class P.

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

End of function __construct

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

End of function d

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

End of function p

End of class C.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.66 ms | 1386 KiB | 13 Q