inanepain / polyfill
Various Polyfill functions for php backwards compatibility.
Requires
- php: >=5.0
- inanepain/stdlib: *
- psr/log: dev-master
This package is auto-updated.
Last update: 2024-12-25 19:53:20 UTC
README
Table of Contents1. Overview
Various Polyfill functions for php backwards compatibility.
polyfill todo list-
❏ the
is_iterable
function introduced in PHP 7.1; -
❏ the
enum_exists
function introduced in PHP 8.1; -
❏ the
spl_object_id
andstream_isatty
functions introduced in PHP 7.2; -
❏ the
hrtime
function introduced in PHP 7.3; -
❏ the
get_mangled_object_vars
,mb_str_split
andpassword_algos
functions introduced in PHP 7.4; -
❏ the fdiv function introduced in PHP 8.0;
-
❏ the
get_debug_type
function introduced in PHP 8.0; -
❏ the
get_resource_id
function introduced in PHP 8.0; -
❏ the
Attribute
class introduced in PHP 8.0; -
✓ the
array_column
, boolval, json_last_error_msg and hash_pbkdf2 functions introduced in PHP 5.5; -
✓ the
PhpToken
class introduced in PHP 8.0 when * [ ] the tokenizer extension is enabled; -
✓ the
Stringable
interface introduced in PHP 8.0; -
✓ the
is_countable
function introduced in PHP 7.3; -
✓ the
array_is_list
function introduced in PHP 8.1; -
✓ the
array_key_first
andarray_key_last
functions introduced in PHP 7.3; -
✓ the
str_contains
function introduced in PHP 8.0; -
✓ the
str_starts_with
andstr_ends_with
functions introduced in PHP 8.0;