Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34540 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60904 invoked by uid 1010); 6 Jan 2008 20:23:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60888 invoked from network); 6 Jan 2008 20:23:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2008 20:23:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=markus@fischer.name; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=markus@fischer.name; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fischer.name from 62.179.121.40 cause and error) X-PHP-List-Original-Sender: markus@fischer.name X-Host-Fingerprint: 62.179.121.40 viefep20-int.chello.at Solaris 10 (beta) Received: from [62.179.121.40] ([62.179.121.40:46120] helo=viefep20-int.chello.at) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/46-16968-AA831874 for ; Sun, 06 Jan 2008 15:23:07 -0500 Received: from genuine.home ([84.112.136.139]) by viefep20-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20080106202307.LBOO26958.viefep20-int.chello.at@genuine.home>; Sun, 6 Jan 2008 21:23:07 +0100 Received: from chello084112136139.36.11.vie.surfer.at ([84.112.136.139] helo=[192.168.1.51]) by genuine.home with esmtpa (Exim 4.50) id 1JBbtV-00035B-Rn; Sun, 06 Jan 2008 21:14:56 +0100 Message-ID: <478138AA.4050101@fischer.name> Date: Sun, 06 Jan 2008 21:23:06 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Hannes Magnusson CC: php-dev List References: <47812E04.3070705@fischer.name> <7f3ed2c30801061204h2c1cf64dwb3a2e207e89e0f9b@mail.gmail.com> In-Reply-To: <7f3ed2c30801061204h2c1cf64dwb3a2e207e89e0f9b@mail.gmail.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=C2272BD0; url=http://markus.fischer.name/my_public_key.txt Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -25 X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "genuine.home", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Hannes Magnusson wrote: | No, the comment is correct. | | "for historical [read: BC] reasons "double" is returned in case of a | float, and not simply "float"" | | See http://docs.php.net/settype && http://docs.php.net/gettype [...] Content analysis details: (-2.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -3.3 ALL_TRUSTED Did not pass through any untrusted hosts -2.0 BAYES_20 BODY: Bayesian spam probability is 5 to 20% [score: 0.0738] 2.0 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [84.112.136.139 listed in dnsbl.sorbs.net] 0.7 AWL AWL: From: address is in the auto white-list Subject: Re: [PHP-DEV] Source type.c says settype($var, "double") is deprecated From: markus@fischer.name (Markus Fischer) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Hannes Magnusson wrote: | No, the comment is correct. | | "for historical [read: BC] reasons "double" is returned in case of a | float, and not simply "float"" | | See http://docs.php.net/settype && http://docs.php.net/gettype Thanks for the pointers, but I don't quite understand what "deprecate" now means. Doing gettype(1.5) returns "double". There's not way that gettype() returns "float". I don't see the implications of this "deprecation" here. What does it say? The comment in the sourceis there since around 2002 or so. But there aren't plans to change the behavior or gettype(), are there? Sorry if I seem nitpicking, I just got more confused after your mail :) - - Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgTiq1nS0RcInK9ARAjkiAKDbBA66+XnNJ8RhgmdHHlonUW1MJgCg43wp /YJJZkmsY1lqKV4lzfGoCxs= =CQZj -----END PGP SIGNATURE-----