3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.04 ms | 1386 KiB | 15 Q