diff options
Diffstat (limited to 'vendor/symfony/polyfill-php73/Php73.php')
| -rw-r--r-- | vendor/symfony/polyfill-php73/Php73.php | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/vendor/symfony/polyfill-php73/Php73.php b/vendor/symfony/polyfill-php73/Php73.php index aa3708f64f..7c99d1972a 100644 --- a/vendor/symfony/polyfill-php73/Php73.php +++ b/vendor/symfony/polyfill-php73/Php73.php @@ -1,5 +1,14 @@ <?php +/* + * This file is part of the Symfony package. + * + * (c) Fabien Potencier <fabien@symfony.com> + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Symfony\Polyfill\Php73; /** @@ -19,8 +28,8 @@ final class Php73 */ public static function hrtime($asNum = false) { - $ns = \microtime(false); - $s = \substr($ns, 11) - self::$startAt; + $ns = microtime(false); + $s = substr($ns, 11) - self::$startAt; $ns = 1E9 * (float) $ns; if ($asNum) { |
