3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = "foo"; print_r([[], ["a" => "$b$b"]]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZDnsU
function name:  (null)
number of ops:  10
compiled vars:  !0 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'foo'
    3     1        INIT_FCALL                                               'print_r'
          2        INIT_ARRAY                                       ~2      <array>
          3        NOP                                                      
          4        FAST_CONCAT                                      ~3      !0, !0
          5        INIT_ARRAY                                       ~4      ~3, 'a'
          6        ADD_ARRAY_ELEMENT                                ~2      ~4
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.67 ms | 1394 KiB | 15 Q