The PHP Online Conference 2021

Changelog

The following changes have been made to classes/functions/methods of this extension.

VersionFunctionDescription
7.4.0implodePassing the glue after the pieces (i.e. not using the documented order of parameters) has been deprecated.
 money_formatThis function has been deprecated. Instead, use NumberFormatter::formatCurrency.
 str_getcsvThe 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_tagsThe allowable_tags now alternatively accepts an array.
7.3.0striposPassing an integer as needle has been deprecated.
 stristrPassing an integer as needle has been deprecated.
 strposPassing an integer as needle has been deprecated.
 strrchrPassing an integer as needle has been deprecated.
 strriposPassing an integer as needle has been deprecated.
 strrposPassing an integer as needle has been deprecated.
 strstrPassing an integer as needle has been deprecated.
7.2.18, 7.3.5substr_compareoffset may now be equal to the length of main_str.
7.2.0number_formatnumber_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_strUsage of parse_str without a second parameter now emits an E_DEPRECATED notice.
7.1.0str_shuffleThe internal randomization algorithm has been changed to use the Mersenne Twister Random Number Generator instead of the libc rand function.
 striposSupport for negative offsets has been added.
 strposSupport for negative offsets has been added.
 substr_countSupport for negative offsets and lengths has been added. length may also be 0 now.
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top