3v4l.org

run code in 300+ PHP versions simultaneously
<?php $thing=array( array( name => "arthur", id => "1", blah => 1.0 ), array( name => "bob", id => "2", blah => 3.0 ) ); print_R($thing); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4j9LU
function name:  (null)
number of ops:  19
compiled vars:  !0 = $thing
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_CONSTANT                                   ~1      'name'
          1        INIT_ARRAY                                       ~2      'arthur', ~1
    4     2        FETCH_CONSTANT                                   ~3      'id'
          3        ADD_ARRAY_ELEMENT                                ~2      '1', ~3
    5     4        FETCH_CONSTANT                                   ~4      'blah'
          5        ADD_ARRAY_ELEMENT                                ~2      1, ~4
          6        INIT_ARRAY                                       ~5      ~2
    7     7        FETCH_CONSTANT                                   ~6      'name'
          8        INIT_ARRAY                                       ~7      'bob', ~6
    8     9        FETCH_CONSTANT                                   ~8      'id'
         10        ADD_ARRAY_ELEMENT                                ~7      '2', ~8
    9    11        FETCH_CONSTANT                                   ~9      'blah'
         12        ADD_ARRAY_ELEMENT                                ~7      3, ~9
         13        ADD_ARRAY_ELEMENT                                ~5      ~7
    3    14        ASSIGN                                                   !0, ~5
   13    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
   14    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.74 ms | 1394 KiB | 15 Q