3v4l.org

run code in 300+ PHP versions simultaneously
<?php $delete = array("Delete" => "Delete"); $folders = array("0" => "folder1","1" => "folder2"); $options = array_merge($delete, substr_replace($folders, 'Move to ', 0, 0)); var_export($options);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RsDtf
function name:  (null)
number of ops:  17
compiled vars:  !0 = $delete, !1 = $folders, !2 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, <array>
    7     2        INIT_FCALL                                               'array_merge'
          3        SEND_VAR                                                 !0
          4        INIT_FCALL                                               'substr_replace'
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 'Move+to+'
          7        SEND_VAL                                                 0
          8        SEND_VAL                                                 0
          9        DO_ICALL                                         $5      
         10        SEND_VAR                                                 $5
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !2, $6
    9    13        INIT_FCALL                                               'var_export'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
499.85 ms | 999 KiB | 16 Q