php-ref icon indicating copy to clipboard operation
php-ref copied to clipboard

PHP73 statement fixed

Open pizzaminded opened this issue 5 years ago • 1 comments

In some cases, r() on php 7.3 were throwing this error: count(): Parameter must be an array or an object that implements Countable

After adding additional condition, this error gone away.

pizzaminded avatar Apr 28 '19 15:04 pizzaminded

I encountered the same issue many times. I am glad you came up with this fix. I've implemented it in my local copy for tests and I am satisfied with the result. Two thumbs up!

I hope Milenko accept this pull request soon.

jcmarchi avatar May 01 '19 17:05 jcmarchi