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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
197.55 ms | 1395 KiB | 15 Q