3v4l.org

run code in 300+ PHP versions simultaneously
<?php $resultsByValue = []; for ($i=60; $i< 99999; $i++) { $x = IntlChar::getNumericValue($i); if ($x >= 0) { $resultsByValue[$x][] = $i; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
Branch analysis from position: 3
Branch analysis from position: 12
filename:       /in/EBGt9
function name:  (null)
number of ops:  16
compiled vars:  !0 = $resultsByValue, !1 = $i, !2 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 60
          2      > JMP                                                      ->13
    4     3    >   INIT_STATIC_METHOD_CALL                                  'IntlChar', 'getNumericValue'
          4        SEND_VAR_EX                                              !1
          5        DO_FCALL                                      0  $5      
          6        ASSIGN                                                   !2, $5
    5     7        IS_SMALLER_OR_EQUAL                                      0, !2
          8      > JMPZ                                                     ~7, ->12
    6     9    >   FETCH_DIM_W                                      $8      !0, !2
         10        ASSIGN_DIM                                               $8
         11        OP_DATA                                                  !1
    3    12    >   PRE_INC                                                  !1
         13    >   IS_SMALLER                                               !1, 99999
         14      > JMPNZ                                                    ~11, ->3
    8    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.49 ms | 1394 KiB | 13 Q