3v4l.org

run code in 300+ PHP versions simultaneously
<?php $object = array("apple123" => "456"); echo $object->apple123,"\n"; class Test { public $apple123 = '456'; } $t = new Test; echo $t->apple123;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hf9qf
function name:  (null)
number of ops:  10
compiled vars:  !0 = $object, !1 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        FETCH_OBJ_R                                      ~3      !0, 'apple123'
          2        ECHO                                                     ~3
          3        ECHO                                                     '%0A'
    8     4        NEW                                              $4      'Test'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !1, $4
    9     7        FETCH_OBJ_R                                      ~7      !1, 'apple123'
          8        ECHO                                                     ~7
          9      > RETURN                                                   1

Class Test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.24 ms | 1397 KiB | 13 Q