Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c03f0be

Browse filesBrowse files
robfrawleyfabpot
authored andcommitted
Initial subtree split READMEs
1 parent 53ae7e3 commit c03f0be
Copy full SHA for c03f0be

12 files changed

+206-9Lines changed: 206 additions & 9 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+14-9Lines changed: 14 additions & 9 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Symfony Polyfill
22
================
33

4-
This project backports features found in latest PHP versions. It also provides
5-
compatibility PHP implementations for some extensions and functions. You should
6-
use it when portability across PHP versions and extensions is desired.
4+
This project backports features found in the latest PHP versions and provides
5+
compatibility layers for some extensions and functions. It is intended to be
6+
used when portability across PHP versions and extensions is desired.
77

88
Polyfills are provided for:
99
- the `mbstring` and `iconv` extensions;
@@ -28,7 +28,7 @@ Polyfills are provided for:
2828
`mbstring.func_overload` is required.
2929

3030
It is strongly recommended to upgrade your PHP version and/or install the missing
31-
extensions when possible. This polyfill should be used only when there is no
31+
extensions whenever possible. This polyfill should be used only when there is no
3232
better choice or when portability is a requirement.
3333

3434
Compatibility notes
@@ -44,9 +44,14 @@ Design
4444

4545
This package is designed for low overhead and high quality polyfilling.
4646

47-
It adds only a few lightweight `require` to the bootstrapping process of your
48-
applications for all polyfills. Implementations are then loaded on-demand when
49-
they are needed during code execution.
47+
It adds only a few lightweight `require` statements to the bootstrap process
48+
to support all polyfills. Implementations are then loaded on-demand when
49+
needed during code execution.
5050

51-
Polyfills are unit-tested alongside with their native implementation so that
52-
feature and behavior parity can be proven and enforced on the long run.
51+
Polyfills are unit-tested alongside their native implementation so that
52+
feature and behavior parity can be proven and enforced in the long run.
53+
54+
License
55+
=======
56+
57+
This library is released under the [MIT license](LICENSE).
Collapse file

‎src/Iconv/README.md‎

Copy file name to clipboard
+14Lines changed: 14 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Symfony Polyfill / Iconv
2+
========================
3+
4+
This component provides a native PHP implementation of the
5+
[php.net/iconv](http://php.net/iconv) functions
6+
(short of [`ob_iconv_handler`](http://php.net/manual/en/function.ob-iconv-handler.php)).
7+
8+
More information can be found in the
9+
[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
10+
11+
License
12+
=======
13+
14+
This library is released under the [MIT license](LICENSE).
Collapse file

‎src/Intl/Grapheme/README.md‎

Copy file name to clipboard
+31Lines changed: 31 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Symfony Polyfill / Intl: Grapheme
2+
=================================
3+
4+
This component provides a partial, native PHP implementation of the
5+
[Grapheme functions](http://php.net/manual/en/ref.intl.grapheme.php) from the
6+
[Intl](http://php.net/intl) extension.
7+
8+
- [`grapheme_extract`](http://php.net/grapheme_extract): Extract a sequence of grapheme
9+
clusters from a text buffer, which must be encoded in UTF-8
10+
- [`grapheme_stripos`](http://php.net/grapheme_stripos): Find position (in grapheme units)
11+
of first occurrence of a case-insensitive string
12+
- [`grapheme_stristr`](http://php.net/grapheme_stristr): Returns part of haystack string
13+
from the first occurrence of case-insensitive needle to the end of haystack
14+
- [`grapheme_strlen`](http://php.net/grapheme_strlen): Get string length in grapheme units
15+
- [`grapheme_strpos`](http://php.net/grapheme_strpos): Find position (in grapheme units)
16+
of first occurrence of a string
17+
- [`grapheme_strripos`](http://php.net/grapheme_strripos): Find position (in grapheme units)
18+
of last occurrence of a case-insensitive string
19+
- [`grapheme_strrpos`](http://php.net/grapheme_strrpos): Find position (in grapheme units)
20+
of last occurrence of a string
21+
- [`grapheme_strstr`](http://php.net/grapheme_strstr): Returns part of haystack string from
22+
the first occurrence of needle to the end of haystack
23+
- [`grapheme_substr`](http://php.net/grapheme_substr): Return part of a string
24+
25+
More information can be found in the
26+
[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
27+
28+
License
29+
=======
30+
31+
This library is released under the [MIT license](LICENSE).
Collapse file

‎src/Intl/Icu/README.md‎

Copy file name to clipboard
+23Lines changed: 23 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Symfony Polyfill / Intl: ICU
2+
============================
3+
4+
This component maps a collection of functions/classes using the
5+
[`symfony/intl`](https://github.com/symfony/intl) package in the abscense of the
6+
[Intl](http://php.net/intl) extension, including:
7+
8+
- [`intl_is_failure()`](http://php.net/manual/en/function.intl-is-failure.php)
9+
- [`intl_get_error_code()`](http://php.net/manual/en/function.intl-get-error-code.php)
10+
- [`intl_get_error_message()`](http://php.net/manual/en/function.intl-get-error-message.php)
11+
- [`intl_error_name()`](http://php.net/manual/en/function.intl-error-name.php)
12+
- [`Collator`](http://php.net/Collator)
13+
- [`NumberFormatter`](http://php.net/NumberFormatter)
14+
- [`Locale`](http://php.net/Locale)
15+
- [`IntlDateFormatter`](http://php.net/IntlDateFormatter)
16+
17+
More information can be found in the
18+
[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
19+
20+
License
21+
=======
22+
23+
This library is released under the [MIT license](LICENSE).
Collapse file

‎src/Intl/Normalizer/README.md‎

Copy file name to clipboard
+14Lines changed: 14 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Symfony Polyfill / Intl: Normalizer
2+
===================================
3+
4+
This component provides a fallback implementation for the
5+
[`Normalizer`](http://php.net/manual/en/class.normalizer.php) class provided
6+
by the [Intl](http://php.net/intl) extension.
7+
8+
More information can be found in the
9+
[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
10+
11+
License
12+
=======
13+
14+
This library is released under the [MIT license](LICENSE).
Collapse file

‎src/Mbstring/README.md‎

Copy file name to clipboard
+13Lines changed: 13 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Symfony Polyfill / Mbstring
2+
===========================
3+
4+
This component provides a partial, native PHP implementation for the
5+
[Mbstring](http://php.net/mbstring) extension.
6+
7+
More information can be found in the
8+
[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
9+
10+
License
11+
=======
12+
13+
This library is released under the [MIT license](LICENSE).
Collapse file

‎src/Php54/README.md‎

Copy file name to clipboard
+17Lines changed: 17 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Symfony Polyfill / Php54
2+
========================
3+
4+
This component provides functions unavailable in releases prior to PHP 5.4:
5+
6+
- [`trait_exists`](http://php.net/trait_exists)
7+
- [`class_uses`](http://php.net/class_uses)
8+
- [`hex2bin`](http://php.net/hex2bin)
9+
- [`session_register_shutdown`](http://php.net/session_register_shutdown)
10+
11+
More information can be found in the
12+
[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
13+
14+
License
15+
=======
16+
17+
This library is released under the [MIT license](LICENSE).
Collapse file

‎src/Php55/README.md‎

Copy file name to clipboard
+18Lines changed: 18 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Symfony Polyfill / Php55
2+
========================
3+
4+
This component provides functions unavailable in releases prior to PHP 5.5:
5+
6+
- [`boolval`](http://php.net/boolval)
7+
- [`json_last_error_msg`](http://php.net/json_last_error_msg)
8+
- [`array_column`](http://php.net/array_column)
9+
- [`hash_pbkdf2`](http://php.net/hash_pbkdf2)
10+
- `password_*` functions (from [ircmaxell/password_compat](https://github.com/ircmaxell/password_compat))
11+
12+
More information can be found in the
13+
[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
14+
15+
License
16+
=======
17+
18+
This library is released under the [MIT license](LICENSE).
Collapse file

‎src/Php56/README.md‎

Copy file name to clipboard
+15Lines changed: 15 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Symfony Polyfill / Php56
2+
========================
3+
4+
This component provides functions unavailable in releases prior to PHP 5.6:
5+
6+
- [`hash_equals`](http://php.net/hash_equals) (part of [hash](http://php.net/hash) extension)
7+
- [`ldap_escape`](http://php.net/ldap_escape) (part of [ldap](http://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).
Collapse file

‎src/Php70/README.md‎

Copy file name to clipboard
+18Lines changed: 18 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Symfony Polyfill / Php70
2+
========================
3+
4+
This component provides functions unavailable in releases prior to PHP 7.0:
5+
6+
- [`intdiv`](http://php.net/intdiv)
7+
- [`preg_replace_callback_array`](http://php.net/preg_replace_callback_array)
8+
- [`error_clear_last`](http://php.net/error_clear_last)
9+
- `random_bytes` and `random_int` (from [paragonie/random_compat](https://github.com/paragonie/random_compat))
10+
- [`*Error` throwable classes](http://php.net/Error)
11+
12+
More information can be found in the
13+
[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
14+
15+
License
16+
=======
17+
18+
This library is released under the [MIT license](LICENSE).

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.