3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Sample Testing String"; $start = array_sum( explode( ' ', microtime( ) ) ); for( $a = 1000000; $a ; --$a ) { md5( $str ); } $end = array_sum( explode(' ', microtime()) );echo $end - $start; die;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 13
Branch analysis from position: 18
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 13
Branch analysis from position: 18
Branch analysis from position: 13
filename:       /in/WN16g
function name:  (null)
number of ops:  32
compiled vars:  !0 = $str, !1 = $start, !2 = $a, !3 = $end
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 'Sample+Testing+String'
    7     1        INIT_FCALL                                               'array_sum'
          2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '+'
          4        INIT_FCALL                                               'microtime'
          5        DO_ICALL                                         $5      
          6        SEND_VAR                                                 $5
          7        DO_ICALL                                         $6      
          8        SEND_VAR                                                 $6
          9        DO_ICALL                                         $7      
         10        ASSIGN                                                   !1, $7
    8    11        ASSIGN                                                   !2, 1000000
         12      > JMP                                                      ->17
   10    13    >   INIT_FCALL                                               'md5'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
    8    16        PRE_DEC                                                  !2
         17    > > JMPNZ                                                    !2, ->13
   12    18    >   INIT_FCALL                                               'array_sum'
         19        INIT_FCALL                                               'explode'
         20        SEND_VAL                                                 '+'
         21        INIT_FCALL                                               'microtime'
         22        DO_ICALL                                         $12     
         23        SEND_VAR                                                 $12
         24        DO_ICALL                                         $13     
         25        SEND_VAR                                                 $13
         26        DO_ICALL                                         $14     
         27        ASSIGN                                                   !3, $14
         28        SUB                                              ~16     !3, !1
         29        ECHO                                                     ~16
         30      > EXIT                                                     
         31*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.65 ms | 1388 KiB | 21 Q