🛠Lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
Reflection::getReturnType()
& Type::fromReflection()
return tentative type in PHP 8.1getReturnTypes()
, getParameterTypes()
, getPropertyTypes()
are deprecatedArrayList::from()
getReturnTypes()
, getParameterTypes()
, getPropertyTypes()
are deprecatedmakeWritable()
(#244)wrap()
method (#180)Arrays::insertAfter()
& insertBefore()
fixed when $key is nullDateTime::fromParts()
is non-locale aware #248first()
, last()
& contains()
invoke()
& invokeMethod()
toAscii()
fixed to correctly convert german umlauts (BC break) (#240)For the details you can have a look at the diff.
getReturnTypes()
, getParameterTypes()
and getPropertyTypes()
getReturnType()
, getParameterType()
and getPropertyType()
throws exception on union typesfromString()
throws UnknownImageFileException when file type is unknownFor the details you can have a look at the diff.
fromString()
throws UnknownImageFileException when file type is unknownFor the details you can have a look at the diff.
getText()
decodes 'For the details you can have a look at the diff.
renameKey()
fixed incorrect replacement for existing new keys #230renameKey()
returns true if $oldKey was foundtoKey()
isBuiltinType()
added PHP 8 types mixed & falsegetReturnType()
fixed for functionsFor the details you can have a look at the diff.