lumen-generators icon indicating copy to clipboard operation
lumen-generators copied to clipboard

Replace count fn call on string with strlen (breaks in PHP > 7.1)

Open gboyegadada opened this issue 6 years ago • 0 comments

Minor bugfix: When you use count() on a string in PHP 7.2 you get this:

count(): Parameter must be an array or an object that implements Countable

Replaced with strlen().

gboyegadada avatar Sep 02 '18 16:09 gboyegadada