note 95663 deleted from function.array-sum by degeberg

From: Date: Thu, 14 Jan 2010 23:35:25 +0000
Subject: note 95663 deleted from function.array-sum by degeberg
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-164983@lists.php.net to get a copy of this message
Note Submitter: josselinwillette at gmail dot com ---- The result of this function is impacted by the locale : <?php $tab = array( 1.2, 1.3 ); setlocale( LC_ALL, 'en_EN' ); echo array_sum( $tab ); // 2.5 setlocale( LC_ALL, 'fr_FR' ); echo array_sum( $tab ); // 2,5 ?>

« previous php.notes (#164983) next »