3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = microtime(); sleep(2); $end = microtime(); echo $end;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6UiEk
function name:  (null)
number of ops:  11
compiled vars:  !0 = $start, !1 = $end
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'microtime'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    3     3        INIT_FCALL                                               'sleep'
          4        SEND_VAL                                                 2
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'microtime'
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
    6     9        ECHO                                                     !1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.04 ms | 1385 KiB | 17 Q