3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = microtime(true); echo 'Test' . PHP_EOL; $end = microtime(true); echo (($end - $start) * 1000000);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Yd5Wa
function name:  (null)
number of ops:  13
compiled vars:  !0 = $start, !1 = $end
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
    3     4        ECHO                                                     'Test%0A'
    4     5        INIT_FCALL                                               'microtime'
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    6     9        SUB                                              ~6      !1, !0
         10        MUL                                              ~7      ~6, 1000000
         11        ECHO                                                     ~7
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.03 ms | 1385 KiB | 15 Q