3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
172.98 ms | 1372 KiB | 15 Q