Skip to content

Various Polyfill functions for php backwards compatibility.

License

Notifications You must be signed in to change notification settings

inanepain/polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polyfill

Table of Contents

1. 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 and stream_isatty functions introduced in PHP 7.2;

  • ❏ the hrtime function introduced in PHP 7.3;

  • ❏ the get_mangled_object_vars, mb_str_split and password_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 and array_key_last functions introduced in PHP 7.3;

  • ✓ the str_contains function introduced in PHP 8.0;

  • ✓ the str_starts_with and str_ends_with functions introduced in PHP 8.0;

About

Various Polyfill functions for php backwards compatibility.

Resources

License

Stars

Watchers

Forks

Packages

No packages published