3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Manager { protected string $name; public function __construct(string $name) { $this->name = $name; } } class Huenager extends Manager { protected string $name = 'Хуенаджер'; protected string $hui; public function __construct(string $hui) { $this->hui = $hui; } } var_dump(new Manager('Вася')); var_dump(new Huenager('Хуй как полено'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GF12F
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   20     0  E >   INIT_FCALL                                                   'var_dump'
          1        NEW                                                  $0      'Manager'
          2        SEND_VAL_EX                                                  '%D0%92%D0%B0%D1%81%D1%8F'
          3        DO_FCALL                                          0          
          4        SEND_VAR                                                     $0
          5        DO_ICALL                                                     
   21     6        INIT_FCALL                                                   'var_dump'
          7        NEW                                                  $3      'Huenager'
          8        SEND_VAL_EX                                                  '%D0%A5%D1%83%D0%B9+%D0%BA%D0%B0%D0%BA+%D0%BF%D0%BE%D0%BB%D0%B5%D0%BD%D0%BE'
          9        DO_FCALL                                          0          
         10        SEND_VAR                                                     $3
         11        DO_ICALL                                                     
         12      > RETURN                                                       1

Class Manager:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GF12F
function name:  __construct
number of ops:  4
compiled vars:  !0 = $name
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E >   RECV                                                 !0      
    7     1        ASSIGN_OBJ                                                   'name'
          2        OP_DATA                                                      !0
    8     3      > RETURN                                                       null

End of function __construct

End of class Manager.

Class Huenager:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GF12F
function name:  __construct
number of ops:  4
compiled vars:  !0 = $hui
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   15     0  E >   RECV                                                 !0      
   16     1        ASSIGN_OBJ                                                   'hui'
          2        OP_DATA                                                      !0
   17     3      > RETURN                                                       null

End of function __construct

End of class Huenager.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.4 ms | 1611 KiB | 14 Q