Re: Unexpected values in an associative array
| From: | Ken Tozier | Date: | Wed, 08 Aug 2007 05:43:37 +0000 |
| Subject: | Re: Unexpected values in an associative array | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260424@lists.php.net to get a copy of this message | ||
On Aug 8, 2007, at 12:43 AM, Robert Cummings wrote:
On Tue, 2007-08-07 at 23:28 -0500, Richard Lynch wrote:Good points. Thanks. KenOn Tue, July 31, 2007 11:06 am, Instruct ICC wrote:And it's flawed since a string containing a float having 0 added to it will still be float :)What is $value and what is this supposed to do:This is a silly hack in place of: $value = (int) $value;case 'integer': $value += 0;