Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / polyfill-php70 / bootstrap.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 use Symfony\Polyfill\Php70 as p;
13
14 if (PHP_VERSION_ID < 70000) {
15     if (!defined('PHP_INT_MIN')) {
16         define('PHP_INT_MIN', ~PHP_INT_MAX);
17     }
18     if (!function_exists('intdiv')) {
19         function intdiv($dividend, $divisor) { return p\Php70::intdiv($dividend, $divisor); }
20     }
21     if (!function_exists('preg_replace_callback_array')) {
22         function preg_replace_callback_array(array $patterns, $subject, $limit = -1, &$count = 0) { return p\Php70::preg_replace_callback_array($patterns, $subject, $limit, $count); }
23     }
24     if (!function_exists('error_clear_last')) {
25         function error_clear_last() { return p\Php70::error_clear_last(); }
26     }
27 }