Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 921 Bytes

polyfill_php72.rst

File metadata and controls

39 lines (27 loc) · 921 Bytes
.. index::
    single: Polyfill
    single: PHP
    single: Components; Polyfill

The Symfony Polyfill / PHP 7.2 Component

This component provides some PHP 7.2 features to applications using earlier PHP versions.

Installation

$ composer require symfony/polyfill-php72

Usage

Once this component is installed in your application, you can use the following constants and functions, no matter if your PHP version is earlier than PHP 7.2.

Provided Constants

  • PHP_OS_FAMILY (value = depends on your operating system)

Provided Functions