├── LICENSE ├── README.md └── composer.json /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015-2019 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Php56 2 | ======================== 3 | 4 | This component provides functions unavailable in releases prior to PHP 5.6: 5 | 6 | - [`hash_equals`](https://php.net/hash_equals) (part of [hash](https://php.net/hash) extension) 7 | - [`ldap_escape`](https://php.net/ldap_escape) (part of [ldap](https://php.net/ldap) extension) 8 | 9 | More information can be found in the 10 | [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md). 11 | 12 | License 13 | ======= 14 | 15 | This library is released under the [MIT license](LICENSE). 16 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/polyfill-php56", 3 | "type": "metapackage", 4 | "description": "Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions", 5 | "keywords": ["polyfill", "shim", "compatibility", "portable"], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Nicolas Grekas", 11 | "email": "p@tchwork.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=7.1" 20 | }, 21 | "minimum-stability": "dev", 22 | "extra": { 23 | "branch-alias": { 24 | "dev-main": "1.20-dev" 25 | }, 26 | "thanks": { 27 | "name": "symfony/polyfill", 28 | "url": "https://github.com/symfony/polyfill" 29 | } 30 | } 31 | } 32 | --------------------------------------------------------------------------------