agrandesr/array-conditions

This is a little tool to make conditions using arrays and without dangerous eval functions.

v1.0.0 2023-01-31 12:00 UTC

This package is auto-updated.

Last update: 2024-05-29 05:27:15 UTC


README

This library is only to check conditions in a array model.

For example:

$arrayCondition = [10,">",1];

The use is simple, you only need to require the class and call the static method check().

$boolValue = ConditionArray::check([10,">",1]);