note 86882 added to language.operators.arithmetic

From: Date: Fri, 07 Nov 2008 19:42:24 +0000
Subject: note 86882 added to language.operators.arithmetic
Groups: php.notes 
Request: Send a blank email to php-notes+get-146297@lists.php.net to get a copy of this message
The rules for converting from string to number are in the manual. It is not true that 'all strings will be converted to 0' yet it certainly is true that some of them will be. "1" will be treated as 1 in an arithmetic expression, for example. ---- Server IP: 69.147.83.197 Probable Submitter: 76.105.247.92 ---- Manual Page -- http://www.php.net/manual/en/language.operators.arithmetic.php Edit -- https://master.php.net/note/edit/86882 Del: integrated -- https://master.php.net/note/delete/86882/integrated Del: useless -- https://master.php.net/note/delete/86882/useless Del: bad code -- https://master.php.net/note/delete/86882/bad+code Del: spam -- https://master.php.net/note/delete/86882/spam Del: non-english -- https://master.php.net/note/delete/86882/non-english Del: in docs -- https://master.php.net/note/delete/86882/in+docs Del: other reasons-- https://master.php.net/note/delete/86882 Reject -- https://master.php.net/note/reject/86882 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#146297) next »