3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = [ 'name' => 'Bob', 'number' => 2, ]; echo "Hello '${options[name]}'" . PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MmDLB
function name:  (null)
number of ops:  9
compiled vars:  !0 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    8     1        ROPE_INIT                                     3  ~5      'Hello+%27'
          2        FETCH_CONSTANT                                   ~2      'name'
          3        FETCH_DIM_R                                      ~3      !0, ~2
          4        ROPE_ADD                                      1  ~5      ~5, ~3
          5        ROPE_END                                      2  ~4      ~5, '%27'
          6        CONCAT                                           ~7      ~4, '%0A'
          7        ECHO                                                     ~7
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.78 ms | 1392 KiB | 13 Q