3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A{ public $fuck = 10; public $aArray = array("test" => "In Class A"); } $a = new A(); $b = ["test" => "fuck"]; echo $a->$b["test"];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hsm4H
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   NEW                                              $2      'A'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    9     3        ASSIGN                                                   !1, <array>
   11     4        FETCH_OBJ_R                                      ~6      !0, !1
          5        FETCH_DIM_R                                      ~7      ~6, 'test'
          6        ECHO                                                     ~7
          7      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.85 ms | 1392 KiB | 13 Q