Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #4528
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Implied cast differs from explicit cast |
| Date | 2012-01-19 14:41 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <jf9rl7$bs3$2@dont-email.me> (permalink) |
| References | (4 earlier) <jf19m7$rbt$1@dont-email.me> <4F150E2E.80003@arnowelzel.de> <jf3sb5$nev$1@dont-email.me> <4F180E42.9010502@arnowelzel.de> <jf9b91$spv$2@news.albasani.net> |
On 1/19/2012 10:01 AM, The Natural Philosopher wrote: > Arno Welzel wrote: >> Jerry Stuckle, 2012-01-17 14:16: >> >>> On 1/17/2012 12:59 AM, Arno Welzel wrote: >>>> Jerry Stuckle, 2012-01-16 14:45: >>>> >>>>> On 1/16/2012 8:28 AM, The Natural Philosopher wrote: >>>>>> lb wrote: >>>>>>> jstucklex@attglobal.net wrote: >>>>>>>> ... >>>>>>>> No, it is not. '0x12' is a hex number, not an integer. (int)'0x12' >>>>>>>> converts this correctly to 0. >>>>>> Looks like Jerry doesn't know what an integer is either. >>>>>> >>>>>> A hex number of course *is* an integer, unless its a hex >>>>>> representation >>>>>> of floating point. >>>>>> >>>>>> Killfile the prat like I have. >>>>>> >>>>>> >>>>> 0x12 is not an integer. It is a hexadecimal value. >>>> No, 0x12 (and *not* "0x12") is the hexadecimal *representation* of the >>>> value 18. There is no thing like "hexadecimal value" and "0x12" is a >>>> *string* and not a number at all. >>>> >>> No, it is a hexadecimal value. It may be an integer, it may be a >>> character, it may be a set of flags... It does not have to be an >>> integer. >>> >>>> In fact PHP only knows to types of numbers: integers and floating >>>> point. >>>> There is no "hexadecimal" data type. >>>> >>> Excuse me - there is. See hexdec(). >> >> <http://php.net/manual/en/function.hexdec.php> >> >> You don't know what a data type is? Do you? >> > > No, it's Jerrykins. > > You expect too much....... > >> See <http://www.php.net/manual/en/language.types.php> and show me, where >> the "hexadecimal data type" is explained. >> > > .......Including the ability to say 'er yes, I was wrong' with grace, or > at all. > > >> m( >> >> Another troll who can't read. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Implied cast differs from explicit cast lb <lb2048@pobox.com.delete> - 2012-01-16 01:10 +0000
Re: Implied cast differs from explicit cast Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-15 20:51 -0500
Re: Implied cast differs from explicit cast lb <lb2048@pobox.com.delete> - 2012-01-16 03:08 +0000
Re: Implied cast differs from explicit cast Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-15 22:39 -0500
Re: Implied cast differs from explicit cast Arno Welzel <usenet@arnowelzel.de> - 2012-01-16 08:42 +0100
Re: Implied cast differs from explicit cast Curtis Dyer <dyer85@gmail.com> - 2012-01-16 09:04 +0000
Re: Implied cast differs from explicit cast Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-16 08:25 -0500
Re: Implied cast differs from explicit cast "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-16 19:51 +0100
Re: Implied cast differs from explicit cast The Natural Philosopher <tnp@invalid.invalid> - 2012-01-16 13:28 +0000
Re: Implied cast differs from explicit cast Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-16 08:45 -0500
Re: Implied cast differs from explicit cast Arno Welzel <usenet@arnowelzel.de> - 2012-01-17 06:59 +0100
Re: Implied cast differs from explicit cast Arno Welzel <usenet@arnowelzel.de> - 2012-01-17 07:00 +0100
Re: Implied cast differs from explicit cast Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-17 08:17 -0500
Re: Implied cast differs from explicit cast Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-17 08:16 -0500
Re: Implied cast differs from explicit cast Arno Welzel <usenet@arnowelzel.de> - 2012-01-19 13:36 +0100
Re: Implied cast differs from explicit cast Arno Welzel <usenet@arnowelzel.de> - 2012-01-19 13:39 +0100
Re: Implied cast differs from explicit cast Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-19 09:06 -0500
Re: Implied cast differs from explicit cast Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-19 09:05 -0500
Re: Implied cast differs from explicit cast The Natural Philosopher <tnp@invalid.invalid> - 2012-01-19 15:01 +0000
Re: Implied cast differs from explicit cast Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-19 14:41 -0500
Re: Implied cast differs from explicit cast "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-16 09:49 +0100
Re: Implied cast differs from explicit cast "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-01-16 11:48 +0100
Re: Implied cast differs from explicit cast lb <lb2048@pobox.com.delete> - 2012-01-17 02:35 +0000
csiph-web