From fc9401f04a3aca5abb22f87ebc210de8afe11d32 Mon Sep 17 00:00:00 2001 From: marvin-borner@live.com Date: Tue, 10 Apr 2018 21:50:16 +0200 Subject: Initial Commit --- .../vendor/symfony/polyfill-php70/bootstrap.php | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 assets/php/vendor/symfony/polyfill-php70/bootstrap.php (limited to 'assets/php/vendor/symfony/polyfill-php70/bootstrap.php') diff --git a/assets/php/vendor/symfony/polyfill-php70/bootstrap.php b/assets/php/vendor/symfony/polyfill-php70/bootstrap.php new file mode 100644 index 0000000..445c398 --- /dev/null +++ b/assets/php/vendor/symfony/polyfill-php70/bootstrap.php @@ -0,0 +1,27 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +use Symfony\Polyfill\Php70 as p; + +if (PHP_VERSION_ID < 70000) { + if (!defined('PHP_INT_MIN')) { + define('PHP_INT_MIN', ~PHP_INT_MAX); + } + if (!function_exists('intdiv')) { + function intdiv($dividend, $divisor) { return p\Php70::intdiv($dividend, $divisor); } + } + if (!function_exists('preg_replace_callback_array')) { + function preg_replace_callback_array(array $patterns, $subject, $limit = -1, &$count = 0) { return p\Php70::preg_replace_callback_array($patterns, $subject, $limit, $count); } + } + if (!function_exists('error_clear_last')) { + function error_clear_last() { return p\Php70::error_clear_last(); } + } +} -- cgit v1.2.3