Releases: AppsDevTeam/utils
Releases · AppsDevTeam/utils
v2.14.4
v2.14.3
v2.14.2
v2.14.1: Merge pull request #21 from AppsDevTeam/f-fix_warnings
v2.14: Merge pull request #20 from AppsDevTeam/f-disable_format_animated_gif
Disable format animated gif.
v2.13.2
v2.13.1: Adds utility function for checking emptiness
Adds a utility function that provides a more reliable way to determine if a variable is considered "empty". The native `empty()` function treats '0' and 0 as empty, which is often not the desired behavior. The new function `realEmpty()` addresses this by explicitly checking for these cases.
v2.13: Adds utility function to create DateTimeImmutable
Adds a static method that attempts to create a DateTimeImmutable object from an array containing date and timezone information. Returns null if the input data is invalid or if an exception occurs during DateTimeImmutable creation.