The following changes have been made to classes/functions/methods of this extension.
| Version | Function | Description |
|---|---|---|
| 7.4.0 | chr | The function no longer silently accepts unsupported bytevalues, and casts these to 0. |
| implode | Passing the glue after the pieces (i.e. not using the documented order of parameters) has been deprecated. | |
| money_format | This function has been deprecated. Instead, use NumberFormatter::formatCurrency. | |
| str_getcsv | The escape parameter now interprets an empty string as signal to disable the proprietary escape mechanism. Formerly, an empty string was treated like the default parameter value. | |
| strip_tags | The allowable_tags now alternatively accepts an array. | |
| 7.3.0 | stripos | Passing an int as needle has been deprecated. |
| stristr | Passing an int as needle has been deprecated. | |
| strpos | Passing an int as needle has been deprecated. | |
| strrchr | Passing an int as needle has been deprecated. | |
| strripos | Passing an int as needle has been deprecated. | |
| strrpos | Passing an int as needle has been deprecated. | |
| strstr | Passing an int as needle has been deprecated. | |
| 7.2.18, 7.3.5 | substr_compare | offset may now be equal to the length of main_str. |
| 7.2.0 | number_format | number_format was changed to not being able to return -0, previously -0 could be returned for cases like where number would be -0.01. |
| parse_str | Usage of parse_str without a second parameter now emits an E_DEPRECATED notice. | |
| 7.1.0 | str_shuffle | The internal randomization algorithm has been changed to use the Mersenne Twister Random Number Generator instead of the libc rand function. |
| stripos | Support for negative offsets has been added. | |
| strpos | Support for negative offsets has been added. | |
| substr_count | Support for negative offsets and lengths has been added. length may also be 0 now. |