3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = microtime(true); $b = 1000 >> 2; $c = microtime(true); echo $c." ".$a."\n"; $a = microtime(true); $b = 1000 / 4; $c = microtime(true); echo $c." ".$a."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BZLtk
function name:  (null)
number of ops:  27
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        CONCAT                                           ~8      !2, '+'
         10        CONCAT                                           ~9      ~8, !0
         11        CONCAT                                           ~10     ~9, '%0A'
         12        ECHO                                                     ~10
    8    13        INIT_FCALL                                               'microtime'
         14        SEND_VAL                                                 <true>
         15        DO_ICALL                                         $11     
         16        ASSIGN                                                   !0, $11
    9    17        ASSIGN                                                   !1, 250
   10    18        INIT_FCALL                                               'microtime'
         19        SEND_VAL                                                 <true>
         20        DO_ICALL                                         $14     
         21        ASSIGN                                                   !2, $14
   12    22        CONCAT                                           ~16     !2, '+'
         23        CONCAT                                           ~17     ~16, !0
         24        CONCAT                                           ~18     ~17, '%0A'
         25        ECHO                                                     ~18
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.32 ms | 1395 KiB | 15 Q