3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Chanelle { private $_famille = 'rats'; public function __construct() { echo "Le propriƩtaire de Chanelle est Dorianne\n"; } } class Channus implements Chanelle{ } $petitRat = new Chanelle(); $petitRat();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MaAvd
function name:  (null)
number of ops:  7
compiled vars:  !0 = $petitRat
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   DECLARE_CLASS                                            'channus'
   20     1        NEW                                              $1      'Chanelle'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
   22     4        INIT_DYNAMIC_CALL                                        !0
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Class Chanelle:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MaAvd
function name:  __construct
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ECHO                                                     'Le+propri%C3%A9taire+de+Chanelle+est+Dorianne%0A'
    9     1      > RETURN                                                   null

End of function __construct

End of class Chanelle.

Class Channus: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.27 ms | 1393 KiB | 13 Q