3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Man { public $Vik; public $Staty; public function input($v, $s) { $this-> Vik=v; $this->Staty=s; } } class Gayduk extends Man { public $Name; public $Priz; public function input1($n, $p) { $this->Name=n; $this->Priz=p; } public function print() { echo 'Вік: ' .Vik; echo 'Стать: ' .Staty; echo 'Імя: ' .Name; echo 'прізвище: ' .Priz; } } $man = new Man(); $rsg = new Gayduk(); $man->input('18', 'Чоловіча'); $rsg->input1('Роман', 'Гайдук') ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/98v4B
function name:  (null)
number of ops:  15
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      > RETURN                                                   1

Class Man:
Function input:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/98v4B
function name:  input
number of ops:  9
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        FETCH_CONSTANT                                   ~3      'v'
          3        ASSIGN_OBJ                                               'Vik'
          4        OP_DATA                                                  ~3
    9     5        FETCH_CONSTANT                                   ~5      's'
          6        ASSIGN_OBJ                                               'Staty'
          7        OP_DATA                                                  ~5
   10     8      > 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/98v4B
function name:  input1
number of ops:  9
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        FETCH_CONSTANT                                   ~3      'n'
          3        ASSIGN_OBJ                                               'Name'
          4        OP_DATA                                                  ~3
   19     5        FETCH_CONSTANT                                   ~5      'p'
          6        ASSIGN_OBJ                                               'Priz'
          7        OP_DATA                                                  ~5
   20     8      > RETURN                                                   null

End of function input1

Function print:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/98v4B
function name:  print
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E >   FETCH_CONSTANT                                   ~0      'Vik'
          1        CONCAT                                           ~1      '%D0%92%D1%96%D0%BA%3A+', ~0
          2        ECHO                                                     ~1
   24     3        FETCH_CONSTANT                                   ~2      'Staty'
          4        CONCAT                                           ~3      '%D0%A1%D1%82%D0%B0%D1%82%D1%8C%3A+', ~2
          5        ECHO                                                     ~3
   25     6        FETCH_CONSTANT                                   ~4      'Name'
          7        CONCAT                                           ~5      '%D0%86%D0%BC%D1%8F%3A+', ~4
          8        ECHO                                                     ~5
   26     9        FETCH_CONSTANT                                   ~6      'Priz'
         10        CONCAT                                           ~7      '%D0%BF%D1%80%D1%96%D0%B7%D0%B2%D0%B8%D1%89%D0%B5%3A+', ~6
         11        ECHO                                                     ~7
   28    12      > RETURN                                                   null

End of function print

Function input:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/98v4B
function name:  input
number of ops:  9
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        FETCH_CONSTANT                                   ~3      'v'
          3        ASSIGN_OBJ                                               'Vik'
          4        OP_DATA                                                  ~3
    9     5        FETCH_CONSTANT                                   ~5      's'
          6        ASSIGN_OBJ                                               'Staty'
          7        OP_DATA                                                  ~5
   10     8      > RETURN                                                   null

End of function input

End of class Gayduk.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.73 ms | 1399 KiB | 13 Q