note 15216 deleted from function.array-sum by philip
| From: | philip@php.net | Date: | Wed, 07 Nov 2001 18:35:29 +0000 |
| Subject: | note 15216 deleted from function.array-sum by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20558@lists.php.net to get a copy of this message | ||
For some reason, this function was causing a page to crash without any feedback if I passed it a
variable that wasn't an array (didn't happen on all builds of PHP).
So, if things are strange with this function, make sure you pass it an array: is_array($array)