3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.05 ms | 1387 KiB | 15 Q