Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return current Unix timestamp with microseconds
<?php microtime(bool $as_float = false): string|float
<?php             return await($promise);

        })(42);



        $time = microtime(true);

        $values = await(all([$promise1, $promise2]));

        $time = microtime(true) - $time;
<?php         $time = microtime(true);

        $values = await(all([$promise1, $promise2]));

        $time = microtime(true) - $time;



        $this->assertEquals([21, 42], $values);

        $this->assertGreaterThan(0.1, $time);
<?php     public function start()

    {

        $this->start = microtime(true);

    }



    public function stop()
<?php     public function stop()

    {

        $this->stop = microtime(true);

    }



    public function getInterval()