Closed boxsky closed 6 years ago
@dame001 I have updated version of the library here: https://github.com/mahagr/Ruler/tree/feature/variable_method
It may still have some bugs, but it's designed to work on PHP 5.6+ and has some additional features which may be useful.
@mahagr thanks a lot!It‘s looks good! R u use it in your project? Hope u can perfect it! had started!
Right now I'm not using this new version, but I have plans to use it in the future (I am still using an older version of the code). It needs still some testing. :)
In file Ruler/src/Ruler/Operator/PropositionOperator.php line 30 . count() function was changed more strict. can use function fun_adm_count($array_or_countable,$mode = COUNT_NORMAL){ if(is_array($array_or_countable) || is_object($array_or_countable)){ return count($array_or_countable, $mode); }else{ return 0; } } or other way to fix it.