3v4l.org

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

Class bla:
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tcgiO
function name:  test
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   FETCH_OBJ_W                                      $0      'y_busy'
          1        ASSIGN_DIM                                               $0
          2        OP_DATA                                                  1
    8     3        FETCH_OBJ_W                                      $2      'y_busy'
          4        ASSIGN_DIM                                               $2
          5        OP_DATA                                                  2
    9     6        INIT_FCALL                                               'print_r'
          7        FETCH_OBJ_R                                      ~4      'y_busy'
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                                 
   10    10      > RETURN                                                   null

End of function test

End of class bla.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.34 ms | 1395 KiB | 15 Q