3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = new stdClass(); $c->test = "hello"; echo $c->test; $a = array('a'=>'a','b'=>'c'); $b = array('1'=>'1','2'=>'2'); $a['c'] = 'd'; $a['d'] = $b; var_dump($a); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JkG1K
function name:  (null)
number of ops:  17
compiled vars:  !0 = $c, !1 = $a, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $3      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    3     3        ASSIGN_OBJ                                               !0, 'test'
          4        OP_DATA                                                  'hello'
    4     5        FETCH_OBJ_R                                      ~7      !0, 'test'
          6        ECHO                                                     ~7
    6     7        ASSIGN                                                   !1, <array>
    7     8        ASSIGN                                                   !2, <array>
    8     9        ASSIGN_DIM                                               !1, 'c'
         10        OP_DATA                                                  'd'
    9    11        ASSIGN_DIM                                               !1, 'd'
         12        OP_DATA                                                  !2
   10    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
   11    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.97 ms | 1394 KiB | 15 Q