3v4l.org

run code in 300+ PHP versions simultaneously
<?php class DupaArray { private $tablica = array('a', 'b', 'c'); public function getFirstDupaFromTablica() { var_Dump($this->tablica[1]); } } $obj = new DupaArray(); $obj->getFirstDupaFromTablica();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A7dvH
function name:  (null)
number of ops:  6
compiled vars:  !0 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   NEW                                              $1      'DupaArray'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   16     3        INIT_METHOD_CALL                                         !0, 'getFirstDupaFromTablica'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class DupaArray:
Function getfirstdupafromtablica:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A7dvH
function name:  getFirstDupaFromTablica
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'var_dump'
          1        FETCH_OBJ_R                                      ~0      'tablica'
          2        FETCH_DIM_R                                      ~1      ~0, 1
          3        SEND_VAL                                                 ~1
          4        DO_ICALL                                                 
   10     5      > RETURN                                                   null

End of function getfirstdupafromtablica

End of class DupaArray.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.76 ms | 1394 KiB | 15 Q