kphp icon indicating copy to clipboard operation
kphp copied to clipboard

Forbid use count() on not countable types

Open vkaverin opened this issue 4 years ago • 1 comments

It's necessary to forbid usage of count() function during code translation for any object whose type is not countable (int, float, bool, etc.), because there's no use for that if we know that the type is not countable for sure.

vkaverin avatar Dec 18 '20 10:12 vkaverin