1212use Symfony \Polyfill \Php72 as p ;
1313
1414if (PHP_VERSION_ID < 70200 ) {
15+ if (!defined ('PHP_FLOAT_DIG ' )) {
16+ define ('PHP_FLOAT_DIG ' , 15 );
17+ }
18+ if (!defined ('PHP_FLOAT_EPSILON ' )) {
19+ define ('PHP_FLOAT_EPSILON ' , 2.2204460492503E-16 );
20+ }
21+ if (!defined ('PHP_FLOAT_MIN ' )) {
22+ define ('PHP_FLOAT_MIN ' , 2.2250738585072E-308 );
23+ }
24+ if (!defined ('PHP_FLOAT_MAX ' )) {
25+ define ('PHP_FLOAT_MAX ' , 1.7976931348623157E+308 );
26+ }
27+ if (!defined ('PHP_OS_FAMILY ' )) {
28+ define ('PHP_OS_FAMILY ' , p \Php72::php_os_family ());
29+ }
30+ 1531 if ('\\' === DIRECTORY_SEPARATOR && !function_exists ('sapi_windows_vt100_support ' )) {
1632 function sapi_windows_vt100_support ($ stream , $ enable = null ) { return p \Php72::sapi_windows_vt100_support ($ stream , $ enable ); }
1733 }
@@ -27,9 +43,6 @@ function utf8_decode($s) { return p\Php72::utf8_decode($s); }
2743 if (!function_exists ('spl_object_id ' )) {
2844 function spl_object_id ($ s ) { return p \Php72::spl_object_id ($ s ); }
2945 }
30- if (!defined ('PHP_OS_FAMILY ' )) {
31- define ('PHP_OS_FAMILY ' , p \Php72::php_os_family ());
32- }
3346 if (!function_exists ('mb_ord ' )) {
3447 function mb_ord ($ s , $ enc = null ) { return p \Php72::mb_ord ($ s , $ enc ); }
3548 }
0 commit comments