From 6caffa55feebceb187c29954e7561519905f68d9 Mon Sep 17 00:00:00 2001 From: Tim Bernhard Date: Sun, 1 May 2022 14:20:39 +0200 Subject: [PATCH 1/2] Add additional features --- features.js | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/features.js b/features.js index ef36c52..e2cda85 100644 --- a/features.js +++ b/features.js @@ -542,5 +542,54 @@ const features = [ url: 'https://www.php.net/manual/en/function.get-magic-quotes-gpc.php' } ] + }, + { + name: 'FILTER_FLAG_SCHEME_REQUIRED', + description: 'Filter flag for `filter_var()`', + keywords: [ + 'filter', 'constant', 'deprecated', 'removed' + ], + added: '0.0', + deprecated: '7.3.0', + removed: '8.0', + resources: [ + { + name: 'Validate filters', + url: 'https://www.php.net/manual/en/filter.filters.validate.php' + } + ] + }, + { + name: 'FILTER_FLAG_HOST_REQUIRED', + description: 'Filter flag for `filter_var()`', + keywords: [ + 'filter', 'constant', 'deprecated', 'removed' + ], + added: '0.0', + deprecated: '7.3.0', + removed: '8.0', + resources: [ + { + name: 'Validate filters', + url: 'https://www.php.net/manual/en/filter.filters.validate.php' + } + ] + }, + { + name: 'Fibers (Fiber class, Fiber exceptions)', + description: 'Lightweight concurrency for PHP', + keywords: [ + 'class', 'types', 'new feature', 'functionality', 'concurrency' + ], + added: '8.1', + resources: [ + { + name: 'PHP.Watch Introduction to Fibers', + url: 'https://php.watch/versions/8.1/fibers' + }, { + name: 'PHP Documentation', + url: 'https://www.php.net/manual/en/language.fibers.php' + } + ] } ] From 44b202eddcbcc2a23502c19923f1940ef4a4a7c3 Mon Sep 17 00:00:00 2001 From: Tim Bernhard Date: Sun, 1 May 2022 14:29:40 +0200 Subject: [PATCH 2/2] Fix small typo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb8e02d..c47131b 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ I'd also love PRs to add translations. Maybe contact me first or open an issue i I am manually curating the list of features and related content here. And I'd love for people to help by PR-ing additions. -Feautures to add to the list will need to meet the following criteria: +Features to add to the list will need to meet the following criteria: * They were added, deprecated or removed in PHP version 5.6 or greater.