note 95663 added to function.array-sum

From: Date: Thu, 14 Jan 2010 10:58:37 +0000
Subject: note 95663 added to function.array-sum
Groups: php.notes 
Request: Send a blank email to php-notes+get-164966@lists.php.net to get a copy of this message
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 ?> ---- Server IP: 89.31.146.176 Probable Submitter: 82.244.165.223 ---- Manual Page -- http://www.php.net/manual/en/function.array-sum.php Edit -- https://master.php.net/note/edit/95663 Del: integrated -- https://master.php.net/note/delete/95663/integrated Del: useless -- https://master.php.net/note/delete/95663/useless Del: bad code -- https://master.php.net/note/delete/95663/bad+code Del: spam -- https://master.php.net/note/delete/95663/spam Del: non-english -- https://master.php.net/note/delete/95663/non-english Del: in docs -- https://master.php.net/note/delete/95663/in+docs Del: other reasons-- https://master.php.net/note/delete/95663 Reject -- https://master.php.net/note/reject/95663 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#164966) next »