.. index:: single: Polyfill single: PHP single: Components; Polyfill
This component provides some PHP 7.0 features to applications using earlier PHP versions.
$ composer require symfony/polyfill-php70
Once this component is installed in your application, you can use the following constants, classes and functions, no matter if your PHP version is earlier than PHP 7.0.
PHP_INT_MIN
(value =~PHP_INT_MAX
)
- :phpclass:`ArithmeticError`
- :phpclass:`AssertionError`
- :phpclass:`DivisionByZeroError`
- :phpclass:`Error`
- :phpclass:`ParseError`
- :phpclass:`SessionUpdateTimestampHandlerInterface`
- :phpclass:`TypeError`