Simply:
if (@array) {}Update: oops! Thanks to ikegami for pointing out that I negated the logic here. That could be if (!@array) {} as others have written.
In reply to Re: Empty or not empty ?
by revdiablo
in thread Empty or not empty ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |