3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = microtime();list($us, $s) = explode(' ', $t);$us *= 1000000;$f = sprintf('%d.%d', $s, $us);var_dump($t, $f);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YiDV9
function name:  (null)
number of ops:  24
compiled vars:  !0 = $t, !1 = $us, !2 = $s, !3 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'microtime'
          1        DO_ICALL                                         $4      
          2        ASSIGN                                                   !0, $4
          3        INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '+'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $6      
          7        FETCH_LIST_R                                     $7      $6, 0
          8        ASSIGN                                                   !1, $7
          9        FETCH_LIST_R                                     $9      $6, 1
         10        ASSIGN                                                   !2, $9
         11        FREE                                                     $6
         12        ASSIGN_OP                                     3          !1, 1000000
         13        INIT_FCALL                                               'sprintf'
         14        SEND_VAL                                                 '%25d.%25d'
         15        SEND_VAR                                                 !2
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                         $12     
         18        ASSIGN                                                   !3, $12
         19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !0
         21        SEND_VAR                                                 !3
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.35 ms | 1395 KiB | 21 Q