3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a(){} $a=microtime(TRUE); for($i=0;$i<1000000;$i++){a();} var_dump(microtime(TRUE)-$a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 6
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 6
Branch analysis from position: 11
Branch analysis from position: 6
filename:       /in/09hHJ
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
          4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->9
          6    >   INIT_FCALL                                               'a'
          7        DO_FCALL                                      0          
          8        PRE_INC                                                  !1
          9    >   IS_SMALLER                                               !1, 1000000
         10      > JMPNZ                                                    ~7, ->6
         11    >   INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'microtime'
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $8      
         15        SUB                                              ~9      $8, !0
         16        SEND_VAL                                                 ~9
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/09hHJ
function name:  a
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E > > RETURN                                                   null

End of function a

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.25 ms | 1398 KiB | 18 Q