3v4l.org

run code in 300+ PHP versions simultaneously
<?php //creating $arr = ['name' => "Jasein"]; $arrOldWay = array('name' => "Jasein");//same thing as above class Blah{ public $name = 'Jasein'; } $obj = new Blah(); //accessing echo $arr ['name'] . "\n"; echo $arrOldWay ['name'] . "\n"; echo $obj->name . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1Fm3P
function name:  (null)
number of ops:  15
compiled vars:  !0 = $arr, !1 = $arrOldWay, !2 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, <array>
    6     1        ASSIGN                                                   !1, <array>
   11     2        NEW                                              $5      'Blah'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !2, $5
   15     5        FETCH_DIM_R                                      ~8      !0, 'name'
          6        CONCAT                                           ~9      ~8, '%0A'
          7        ECHO                                                     ~9
   16     8        FETCH_DIM_R                                      ~10     !1, 'name'
          9        CONCAT                                           ~11     ~10, '%0A'
         10        ECHO                                                     ~11
   18    11        FETCH_OBJ_R                                      ~12     !2, 'name'
         12        CONCAT                                           ~13     ~12, '%0A'
         13        ECHO                                                     ~13
         14      > RETURN                                                   1

Class Blah: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.53 ms | 1393 KiB | 13 Q