3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $resultsByValue = []; for ($i=60; $i< 99999; $i++) { $x = IntlChar::getNumericValue($i); if ($x >= 0) { $resultsByValue[$x][] = $i; } }
based on KEPs8
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 14
Branch analysis from position: 14
Jump found. Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
Jump found. Position 1 = -2
Branch analysis from position: 3
Jump found. Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
Jump found. Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
Branch analysis from position: 3
Branch analysis from position: 12
filename:       /in/EBGt9
function name:  (null)
number of ops:  17
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                                                      ->14
   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                              ~7      0, !2
         8      > JMPZ                                                     ~7, ->12
   6     9    >   FETCH_DIM_W                                      $8      !0, !2
        10        ASSIGN_DIM                                               $8
        11        OP_DATA                                                  !1
   3    12    >   POST_INC                                         ~10     !1
        13        FREE                                                     ~10
        14    >   IS_SMALLER                                       ~11     !1, 99999
        15      > JMPNZ                                                    ~11, ->3
        16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0