note 16644 added to function.array-sum

From: Date: Wed, 07 Nov 2001 18:45:14 +0000
Subject: note 16644 added to function.array-sum
Groups: php.notes 
Request: Send a blank email to php-notes+get-20559@lists.php.net to get a copy of this message
In 4.0.4, if you pass a non-array into array_sum(), PHP will segfault. This was fixed in 4.0.5 If you're stuck with 4.0.4, consider using is_array() alongside this function.. -- http://www.php.net/manual/en/function.array-sum.php http://master.php.net/manage/user-notes.php?action=edit+16644 http://master.php.net/manage/user-notes.php?action=delete+16644 http://master.php.net/manage/user-notes.php?action=reject+16644

« previous php.notes (#20559) next »