krz/vox-populi
A Tumblr web client.
clone: git clone https://gitbay.org/krz/vox-populi.git
main: vendor/symfony/polyfill-php70/bootstrap.php · raw
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
12use Symfony\Polyfill\Php70 as p;
13
14if (PHP_VERSION_ID >= 70000) {
15 return;
16}
17
18if (!defined('PHP_INT_MIN')) {
19 define('PHP_INT_MIN', ~PHP_INT_MAX);
20}
21
22if (!function_exists('intdiv')) {
23 function intdiv($dividend, $divisor) { return p\Php70::intdiv($dividend, $divisor); }
24}
25if (!function_exists('preg_replace_callback_array')) {
26 function preg_replace_callback_array(array $patterns, $subject, $limit = -1, &$count = 0) { return p\Php70::preg_replace_callback_array($patterns, $subject, $limit, $count); }
27}
28if (!function_exists('error_clear_last')) {
29 function error_clear_last() { return p\Php70::error_clear_last(); }
30}