Hello Nunners,

Monday, April 5, 2004, 2:12:11 PM, you wrote:

N> I've got a series of functions which return a list in an array. How can I
N> create an empty array?  Or do I need to check it's a valid array before I
N> use it?

$void = array();

That is an empty array. You can also use it to clear the contents of
an existing array.

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to