3v4l.org

run code in 300+ PHP versions simultaneously
<?php $wrap = array(); $a = array(); $a1 = 'aaaaa11111'; $a2 = 'aaaaa22222222222'; $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/tLmaa
function name:  (null)
number of ops:  25
compiled vars:  !0 = $wrap, !1 = $a, !2 = $a1, !3 = $a2, !4 = $b, !5 = $b1, !6 = $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, 'aaaaa11111'
    5     3        ASSIGN                                                   !3, 'aaaaa22222222222'
    6     4        ASSIGN                                                   !4, <array>
    7     5        ASSIGN                                                   !5, 'bbbbbbbbbbbbbbb'
    9     6        ASSIGN_DIM                                               !1
          7        OP_DATA                                                  !2
   10     8        ASSIGN_DIM                                               !1
          9        OP_DATA                                                  !3
   11    10        ASSIGN_DIM                                               !4
         11        OP_DATA                                                  !5
   13    12        ASSIGN_DIM                                               !0
         13        OP_DATA                                                  !1
   14    14        ASSIGN_DIM                                               !0
         15        OP_DATA                                                  !4
   25    16        INIT_FCALL                                               'array_merge'
         17        SEND_ARRAY                                               !0
         18        CHECK_UNDEF_ARGS                                         
         19        DO_FCALL                                      0  $18     
         20        ASSIGN                                                   !6, $18
   27    21        INIT_FCALL                                               'var_dump'
         22        SEND_VAR                                                 !6
         23        DO_ICALL                                                 
   29    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.44 ms | 1395 KiB | 17 Q