Releases
v1.2.0
Compare
Sorry, something went wrong.
No results found
1.2.0 (2023-09-22)
Code cleanup per PHPStan (level: 9, strict, bleeding edge)
New function arrayInterlace
doesContain() and doesNotContain() now uses the PHP 8 native str_contains() function.
No longer relies on mbstring for these two functions, as it does not appear to be necessary.
However, you can pass true to the $multibyte parameter to use mbstring
New signature: (string $haystack, string $needle, bool $insensitive = false, bool $multibyte = false)
beginsWith() and endsWith() now uses the PHP 8 native str_starts_with() and str_ends_with() functions.
No longer relies on mbstring for these two functions, as it does not appear to be necessary.
However, you can pass true to the $multibyte parameter to use mbstring
New signature: (string $haystack, string $needle, bool $insensitive = false, bool $multibyte = false)
New functions for temperature conversions:
fahrenheitToCelsius, celsiusToFahrenheit, celsiusToKelvin, kelvinToCelsius, fahrenheitToKelvin, kelvinToFahrenheit
fahrenheitToRankine, rankineToFahrenheit, celsiusToRankine, rankineToCelsius, kelvinToRankine, rankineToKelvin
Reworked arrayFlatten, now has new paramater $prepend
statusHeader() is now deprecated, you can use PHP's built-in http_response_code function instead.
validJson() should now return properly
Initial implementation of PHPUnit and the testing suite.
You can’t perform that action at this time.