inanepain / polyfill
Various Polyfill functions for php backwards compatibility.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
pkg:composer/inanepain/polyfill
Requires
- php: >=5.0
- inanepain/stdlib: *
- psr/log: dev-master
This package is auto-updated.
Last update: 2025-09-25 21:25:57 UTC
README
Table of Contents1. Overview
Various Polyfill functions for php backwards compatibility.
polyfill todo list-
❏ the
is_iterablefunction introduced in PHP 7.1; -
❏ the
enum_existsfunction introduced in PHP 8.1; -
❏ the
spl_object_idandstream_isattyfunctions introduced in PHP 7.2; -
❏ the
hrtimefunction introduced in PHP 7.3; -
❏ the
get_mangled_object_vars,mb_str_splitandpassword_algosfunctions introduced in PHP 7.4; -
❏ the fdiv function introduced in PHP 8.0;
-
❏ the
get_debug_typefunction introduced in PHP 8.0; -
❏ the
get_resource_idfunction introduced in PHP 8.0; -
❏ the
Attributeclass introduced in PHP 8.0; -
✓ the
array_column, boolval, json_last_error_msg and hash_pbkdf2 functions introduced in PHP 5.5; -
✓ the
PhpTokenclass introduced in PHP 8.0 when * [ ] the tokenizer extension is enabled; -
✓ the
Stringableinterface introduced in PHP 8.0; -
✓ the
is_countablefunction introduced in PHP 7.3; -
✓ the
array_is_listfunction introduced in PHP 8.1; -
✓ the
array_key_firstandarray_key_lastfunctions introduced in PHP 7.3; -
✓ the
str_containsfunction introduced in PHP 8.0; -
✓ the
str_starts_withandstr_ends_withfunctions introduced in PHP 8.0;