3v4l.org

run code in 300+ PHP versions simultaneously
<?php $wrap = array(); $a = array(); $a10 = 'a10'; $a11 = 'a11'; $a20 = 'a20'; $a21 = 'a21'; $b = array(); $b1 = 'bbbbbbbbbbbbbbb'; $a[] = $a1; $a[] = $a2; $b[] = $b1; $wrap[] = $a; $wrap[] = $b; //var_dump($wrap); //$sorted = array(); //foreach($wrap as $content) { // $sorted[] = $content; //} $sorted = call_user_func_array('array_merge', $wrap); var_dump($sorted); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YGCPS
function name:  (null)
number of ops:  27
compiled vars:  !0 = $wrap, !1 = $a, !2 = $a10, !3 = $a11, !4 = $a20, !5 = $a21, !6 = $b, !7 = $b1, !8 = $a1, !9 = $a2, !10 = $sorted
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, 'a10'
    5     3        ASSIGN                                                   !3, 'a11'
    6     4        ASSIGN                                                   !4, 'a20'
    7     5        ASSIGN                                                   !5, 'a21'
    8     6        ASSIGN                                                   !6, <array>
    9     7        ASSIGN                                                   !7, 'bbbbbbbbbbbbbbb'
   11     8        ASSIGN_DIM                                               !1
          9        OP_DATA                                                  !8
   12    10        ASSIGN_DIM                                               !1
         11        OP_DATA                                                  !9
   13    12        ASSIGN_DIM                                               !6
         13        OP_DATA                                                  !7
   15    14        ASSIGN_DIM                                               !0
         15        OP_DATA                                                  !1
   16    16        ASSIGN_DIM                                               !0
         17        OP_DATA                                                  !6
   27    18        INIT_FCALL                                               'array_merge'
         19        SEND_ARRAY                                               !0
         20        CHECK_UNDEF_ARGS                                         
         21        DO_FCALL                                      0  $24     
         22        ASSIGN                                                   !10, $24
   29    23        INIT_FCALL                                               'var_dump'
         24        SEND_VAR                                                 !10
         25        DO_ICALL                                                 
   31    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.84 ms | 1400 KiB | 17 Q