3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n = 1000; $v = 12345; while($n--) { if (is_numeric($v) && $v > 0) { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 3
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 10
Branch analysis from position: 10
Branch analysis from position: 10
Branch analysis from position: 9
filename:       /in/NlBOX
function name:  (null)
number of ops:  13
compiled vars:  !0 = $n, !1 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 1000
    5     1        ASSIGN                                                   !1, 12345
    7     2      > JMP                                                      ->10
   10     3    >   INIT_FCALL                                               'is_numeric'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $4      
          6      > JMPZ_EX                                          ~5      $4, ->9
          7    >   IS_SMALLER                                       ~6      0, !1
          8        BOOL                                             ~5      ~6
          9    > > JMPZ                                                     ~5, ->10
    7    10    >   POST_DEC                                         ~7      !0
         11      > JMPNZ                                                    ~7, ->3
   15    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.5 ms | 1394 KiB | 15 Q