3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.79 ms | 1394 KiB | 17 Q