3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.93 ms | 1395 KiB | 15 Q