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; } var_dump($sorted); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 18, Position 2 = 22
Branch analysis from position: 18
2 jumps found. (Code = 78) Position 1 = 19, Position 2 = 22
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
filename:       /in/THOCn
function name:  (null)
number of ops:  27
compiled vars:  !0 = $wrap, !1 = $a, !2 = $a1, !3 = $a2, !4 = $b, !5 = $b1, !6 = $sorted, !7 = $content
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
   18    16        ASSIGN                                                   !6, <array>
   21    17      > FE_RESET_R                                       $20     !0, ->22
         18    > > FE_FETCH_R                                               $20, !7, ->22
   22    19    >   ASSIGN_DIM                                               !6
         20        OP_DATA                                                  !7
   21    21      > JMP                                                      ->18
         22    >   FE_FREE                                                  $20
   25    23        INIT_FCALL                                               'var_dump'
         24        SEND_VAR                                                 !6
         25        DO_ICALL                                                 
   27    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.28 ms | 1395 KiB | 15 Q