3v4l.org

run code in 300+ PHP versions simultaneously
<?php class induk { private $p; private $l; protected $luas; public function input($a,$b) { $this->p=$a; $this->l=$b; } protected function luasp() { return $this->luas=$this->p*$this->l; } public function cetakl() { echo "luas persegi = ". $this->luas; } } $luasss=new induk(); $luasss->input(3,2); $luasss->cetakl();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NqK8j
function name:  (null)
number of ops:  10
compiled vars:  !0 = $luasss
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   NEW                                              $1      'induk'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   22     3        INIT_METHOD_CALL                                         !0, 'input'
          4        SEND_VAL_EX                                              3
          5        SEND_VAL_EX                                              2
          6        DO_FCALL                                      0          
   23     7        INIT_METHOD_CALL                                         !0, 'cetakl'
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

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

End of function input

Function luasp:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NqK8j
function name:  luasp
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   FETCH_OBJ_R                                      ~1      'p'
          1        FETCH_OBJ_R                                      ~2      'l'
          2        MUL                                              ~3      ~1, ~2
          3        ASSIGN_OBJ                                       ~0      'luas'
          4        OP_DATA                                                  ~3
          5      > RETURN                                                   ~0
   15     6*     > RETURN                                                   null

End of function luasp

Function cetakl:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NqK8j
function name:  cetakl
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   FETCH_OBJ_R                                      ~0      'luas'
          1        CONCAT                                           ~1      'luas+persegi+%3D+', ~0
          2        ECHO                                                     ~1
   19     3      > RETURN                                                   null

End of function cetakl

End of class induk.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.77 ms | 1395 KiB | 13 Q