lr3xmq
Last Updated: February 25, 2016
·
1.2K
· rican7
08 16 2009   niantic boardwalk  3   square

PHP Array Empty?

This is good to know.

Essentially, an array with a single, null value isn't "empty"

However, an array with no keys/values is considered both "empty" and null (loosely).

Say Thanks
Respond

1 Response
Add your response

5640
08 16 2009   niantic boardwalk  3   square

@mbarzda exactly. Simple to understand, but I can understand how it would trip someone up if they haven't run into it before.

over 1 year ago ·