Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/polyfill-php70/bootstrap.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
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 } |