3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 1; $i <= 100000;$i++) { $arrayFetch[$i] = $i; } $arrayFetch = rsort($arrayFetch, true); foreach ($arrayFetch as $arrayReverse) { echo $arrayReverse.'<br>'; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 2
Branch analysis from position: 7
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 17
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 17
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 2
Branch analysis from position: 7
Branch analysis from position: 2
filename:       /in/VCplp
function name:  (null)
number of ops:  19
compiled vars:  !0 = $i, !1 = $arrayFetch, !2 = $arrayReverse
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->5
    5     2    >   ASSIGN_DIM                                               !1, !0
          3        OP_DATA                                                  !0
    3     4        PRE_INC                                                  !0
          5    >   IS_SMALLER_OR_EQUAL                                      !0, 100000
          6      > JMPNZ                                                    ~6, ->2
   10     7    >   INIT_FCALL                                               'rsort'
          8        SEND_REF                                                 !1
          9        SEND_VAL                                                 <true>
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !1, $7
   12    12      > FE_RESET_R                                       $9      !1, ->17
         13    > > FE_FETCH_R                                               $9, !2, ->17
   14    14    >   CONCAT                                           ~10     !2, '%3Cbr%3E'
         15        ECHO                                                     ~10
   12    16      > JMP                                                      ->13
         17    >   FE_FREE                                                  $9
   16    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.32 ms | 1395 KiB | 15 Q