CoreFiles by mySites.guru
bootstrap.php31 lines, 1,010 bytes, from Joomla_3.9.5-Stable-Full_Package.zip
Raw History Compare with 3.9.4
md5
939810746bc208649efaa04e0807b98c
sha1
cafa437e5984739512ba3907ae482e12364b684e
sha256
e6ac5ffc01934bcda82439834ae4121091756a2ac029eb170f0e62be4e7bfb5e
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

use Symfony\Polyfill\Php73 as p;

if (PHP_VERSION_ID < 70300) {
    if (!function_exists('is_countable')) {
        function is_countable($var) { return is_array($var) || $var instanceof Countable || $var instanceof ResourceBundle || $var instanceof SimpleXmlElement; }
    }

    if (!function_exists('hrtime')) {
        p\Php73::$startAt = (int) microtime(true);
        function hrtime($asNum = false) { return p\Php73::hrtime($asNum); }
    }

    if (!function_exists('array_key_first')) {
        function array_key_first(array $array) { foreach ($array as $key => $value) { return $key; } }
    }

    if (!function_exists('array_key_last')) {
        function array_key_last(array $array) { $key = null; foreach ($array as $key => $value); return $key; }
    }
}

The same content is in 18 releases, Joomla 3.9.0-alpha to 3.9.5. See them all, or every version of this file.