3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = ''; $start = microtime(1); while($i++ < 5000) $d = str_rot13('rotate 13'); echo microtime(1) - $start; echo "\n"; $start = microtime(1); while($e++ < 5000) $d = str_rot13('rotate 13'); echo microtime(1) - $start;
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 = 13, Position 2 = 6
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 24
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 24
Branch analysis from position: 31
Branch analysis from position: 24
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
Branch analysis from position: 6
filename:       /in/LAu2k
function name:  (null)
number of ops:  37
compiled vars:  !0 = $d, !1 = $start, !2 = $i, !3 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, ''
    3     1        INIT_FCALL                                               'microtime'
          2        SEND_VAL                                                 1
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
    4     5      > JMP                                                      ->10
          6    >   INIT_FCALL                                               'str_rot13'
          7        SEND_VAL                                                 'rotate+13'
          8        DO_ICALL                                         $7      
          9        ASSIGN                                                   !0, $7
         10    >   POST_INC                                         ~9      !2
         11        IS_SMALLER                                               ~9, 5000
         12      > JMPNZ                                                    ~10, ->6
    5    13    >   INIT_FCALL                                               'microtime'
         14        SEND_VAL                                                 1
         15        DO_ICALL                                         $11     
         16        SUB                                              ~12     $11, !1
         17        ECHO                                                     ~12
    6    18        ECHO                                                     '%0A'
    7    19        INIT_FCALL                                               'microtime'
         20        SEND_VAL                                                 1
         21        DO_ICALL                                         $13     
         22        ASSIGN                                                   !1, $13
    8    23      > JMP                                                      ->28
         24    >   INIT_FCALL                                               'str_rot13'
         25        SEND_VAL                                                 'rotate+13'
         26        DO_ICALL                                         $15     
         27        ASSIGN                                                   !0, $15
         28    >   POST_INC                                         ~17     !3
         29        IS_SMALLER                                               ~17, 5000
         30      > JMPNZ                                                    ~18, ->24
    9    31    >   INIT_FCALL                                               'microtime'
         32        SEND_VAL                                                 1
         33        DO_ICALL                                         $19     
         34        SUB                                              ~20     $19, !1
         35        ECHO                                                     ~20
         36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.34 ms | 1400 KiB | 17 Q