The Wayback Machine - https://web.archive.org/web/20190322180820/https://github.com/symfony/polyfill-php70
Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
This component provides features unavailable in releases prior to PHP 7.0. https://symfony.com/polyfill-php70
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Resources/stubs
LICENSE
Php70.php Fix CS Sep 21, 2018
README.md Add SessionUpdateTimestampHandlerInterface polyfill Oct 11, 2017
bootstrap.php Added PHP_INT_MIN constant Jun 9, 2017
composer.json Added missing polyfill for JsonException Feb 6, 2019

README.md

Symfony Polyfill / Php70

This component provides features unavailable in releases prior to PHP 7.0:

More information can be found in the main Polyfill README.

Compatibility notes

To write portable code between PHP5 and PHP7, some care must be taken:

  • \*Error exceptions must be caught before \Exception;
  • after calling error_clear_last(), the result of $e = error_get_last() must be verified using isset($e['message'][0]) instead of null !== $e.

License

This library is released under the MIT license.

You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.