Download the PHP package mordilion/mutils without Composer
On this page you can find all versions of the php package mordilion/mutils. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package mutils
MUtils
MUtils is a collection of useful functions and to provide some PHP 8.0+ features for older PHP versions.
PHP 8.0+ Features
If you use the functions from this Library, it checks if you are using PHP 8.0+ and use then the internal functions (pass-through).
- Sorting Functions (They have a slow performance if it's not pass-through! - https://wiki.php.net/rfc/stable_sorting)
- asort, arsort, ksort, krsort, natcasesort, natsort, rsort, sort, uasort, uksort, usort
- String Functions
- _str_contains, str_ends_with, str_startswith
Useful Functions
- Array Functions - Functions to optimize working with arrays
- _array_compare_flags, array_move_element, array_group_by, array_prefix_add, array_prefixremove
- Bitwise Functions - Some useful functions to work with sets of bits.
- _bit_set, bit_isset, bitunset
- Reflection Functions - Useful functions to get ReflectionClass, ReflectionMethod and ReflectionProperty on inheritance
- _get_reflection_class, get_reflection_method, get_reflectionproperty
Examples
Use of array functions
Use of string functions
Use of bit functions
Use of reflection functions
All versions of mutils with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1 || >=8.0
The package mordilion/mutils contains the following files
Loading the files please wait ....