3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = microtime(true); $b = 1000 >> 2; $c = microtime(true); echo $a - $c."\n"; $a = microtime(true); $b = 1000 / 4; $c = microtime(true); echo $a - $c."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P7GuG
function name:  (null)
number of ops:  25
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    3     4        ASSIGN                                                   !1, 250
    4     5        INIT_FCALL                                               'microtime'
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
    6     9        SUB                                              ~8      !0, !2
         10        CONCAT                                           ~9      ~8, '%0A'
         11        ECHO                                                     ~9
    8    12        INIT_FCALL                                               'microtime'
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $10     
         15        ASSIGN                                                   !0, $10
    9    16        ASSIGN                                                   !1, 250
   10    17        INIT_FCALL                                               'microtime'
         18        SEND_VAL                                                 <true>
         19        DO_ICALL                                         $13     
         20        ASSIGN                                                   !2, $13
   12    21        SUB                                              ~15     !0, !2
         22        CONCAT                                           ~16     ~15, '%0A'
         23        ECHO                                                     ~16
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.07 ms | 1386 KiB | 15 Q