File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,20 @@
1111

1212
use Symfony\Polyfill\Php70 as p;
1313

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-
}
14+
if (PHP_VERSION_ID >= 70000) {
15+
return;
16+
}
17+
18+
if (!defined('PHP_INT_MIN')) {
19+
define('PHP_INT_MIN', ~PHP_INT_MAX);
20+
}
21+
22+
if (!function_exists('intdiv')) {
23+
function intdiv($dividend, $divisor) { return p\Php70::intdiv($dividend, $divisor); }
24+
}
25+
if (!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+
}
28+
if (!function_exists('error_clear_last')) {
29+
function error_clear_last() { return p\Php70::error_clear_last(); }
2730
}

0 commit comments

Comments
 (0)