3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Man { protected $Vik; protected $Staty; function input($v, $s) { $this-> Vik=$v; $this->Staty=$s; } } class Gayduk extends Man { var $Name; var $Priz; function input1($n, $p) { $this->Name=$n; $this->Priz=$p; } function printinfo() { echo "$this->$Vik"; echo "$this->$Staty"; echo "$this->Name"; echo "$this->Priz"; } } $man = new Man(); $rsg = new Gayduk(); $man->input('18', 'Чоловіча'); $rsg->input1('Роман', 'Гайдук'); $rsg->printinfo(); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0GNeW
function name:  (null)
number of ops:  17
compiled vars:  !0 = $man, !1 = $rsg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   31     0  E >   NEW                                              $2      'Man'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   32     3        NEW                                              $5      'Gayduk'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
   33     6        INIT_METHOD_CALL                                         !0, 'input'
          7        SEND_VAL_EX                                              '18'
          8        SEND_VAL_EX                                              '%D0%A7%D0%BE%D0%BB%D0%BE%D0%B2%D1%96%D1%87%D0%B0'
          9        DO_FCALL                                      0          
   34    10        INIT_METHOD_CALL                                         !1, 'input1'
         11        SEND_VAL_EX                                              '%D0%A0%D0%BE%D0%BC%D0%B0%D0%BD'
         12        SEND_VAL_EX                                              '%D0%93%D0%B0%D0%B9%D0%B4%D1%83%D0%BA'
         13        DO_FCALL                                      0          
   35    14        INIT_METHOD_CALL                                         !1, 'printinfo'
         15        DO_FCALL                                      0          
   36    16      > RETURN                                                   1

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

End of function input

End of class Man.

Class Gayduk:
Function input1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0GNeW
function name:  input1
number of ops:  7
compiled vars:  !0 = $n, !1 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   18     2        ASSIGN_OBJ                                               'Name'
          3        OP_DATA                                                  !0
   19     4        ASSIGN_OBJ                                               'Priz'
          5        OP_DATA                                                  !1
   20     6      > RETURN                                                   null

End of function input1

Function printinfo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0GNeW
function name:  printinfo
number of ops:  17
compiled vars:  !0 = $Vik, !1 = $Staty
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E >   FETCH_THIS                                       ~2      
          1        ROPE_INIT                                     3  ~4      ~2
          2        ROPE_ADD                                      1  ~4      ~4, '-%3E'
          3        ROPE_END                                      2  ~3      ~4, !0
          4        ECHO                                                     ~3
   24     5        FETCH_THIS                                       ~6      
          6        ROPE_INIT                                     3  ~8      ~6
          7        ROPE_ADD                                      1  ~8      ~8, '-%3E'
          8        ROPE_END                                      2  ~7      ~8, !1
          9        ECHO                                                     ~7
   25    10        FETCH_OBJ_R                                      ~10     'Name'
         11        CAST                                          6  ~11     ~10
         12        ECHO                                                     ~11
   26    13        FETCH_OBJ_R                                      ~12     'Priz'
         14        CAST                                          6  ~13     ~12
         15        ECHO                                                     ~13
   28    16      > RETURN                                                   null

End of function printinfo

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

End of function input

End of class Gayduk.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.7 ms | 1390 KiB | 13 Q