foreach and zero-arrays

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I get a warning whenever I foreach a zero-entry array.
Is there anyway around this without setting PHP debug levels lower?

Re: foreach and zero-arrays wrote:

Quoted text here. Click to load it

Check its size with sizeof() or count()

Chris Hope | |

Site Timeline