Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #5341
| From | Shelly <sheldonlg@thevillages.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: A little tip |
| Date | 2012-04-03 10:20 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <jlf0vr$k8d$2@dont-email.me> (permalink) |
| References | (2 earlier) <XnsA0269EBA7CFBAdougmilmaccom@88.198.244.100> <jl54k3$bv5$2@dont-email.me> <XnsA026AB9C0D2BDdougmilmaccom@88.198.244.100> <jl582v$iut$1@dont-email.me> <1572324.RcaxXxdAkp@PointedEars.de> |
On 4/3/2012 9:56 AM, Thomas 'PointedEars' Lahn wrote: > Shelly wrote: > >> On 3/30/2012 4:52 PM, Doug Miller wrote: >>> Jerry Stuckle […]: >>>> On 3/30/2012 3:36 PM, Doug Miller wrote: >>>>> Jerry Stuckle<jstucklex@attglobal.net> wrote in >>>>> news:jl4q1i$top$1@dont-email.me: >>>>> >>>>>> On 3/30/2012 1:02 PM, Shelly wrote: >>>>>>> Here is something I jist came across, so I am passing it on: >>>>>>> ========== >>>>>>> $val= TRUE; >>>>>>> $val&= TRUE; >>>>>>> print ($val === TRUE) ? "Triple is true\n" : "Triple is false\n"; >>>>>>> print ($val == TRUE) ? "Double is true\n" : "Double is false\n"; >>>>>>> >>>>>>> Results in: >>>>>>> Triple is false >>>>>>> Double is true >>>>>>> ========== >>>>>>> >>>>>>> Who designed that? It is totally counter-intuitive. >>>>>> >>>>>> Yes, just another problem with PHP. After the second assignment, $val >>>>>> is actually a reference to TRUE. >>>> It obviously is nothing of the sort. >>>> >>>> And you're obviously trolling (which figures for you) and have no idea >>>> what his problem is - or you would have answered his question. >>>> >>> Typical Stuckle -- never, EVER, under any circumstances admit to being >>> wrong. >> >> Uh, he did. > > Where? His second reply. The one after I pointed out to him how he has misread what I wrote. > > > PointedEars -- Shelly
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A little tip Shelly <sheldonlg@thevillages.net> - 2012-03-30 13:02 -0400
Re: A little tip Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-30 13:20 -0400
Re: A little tip Shelly <sheldonlg@thevillages.net> - 2012-03-30 14:18 -0400
Re: A little tip Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-30 16:19 -0400
Re: A little tip Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2012-03-30 22:30 +0200
Re: A little tip Doug Miller <doug_at_milmac_dot_com@example.com> - 2012-03-30 20:55 +0000
Re: A little tip Shelly <sheldonlg@thevillages.net> - 2012-03-30 16:55 -0400
Re: A little tip Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-30 17:07 -0400
Re: A little tip Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-31 10:05 -0400
Re: A little tip Shelly <sheldonlg@thevillages.net> - 2012-03-31 11:27 -0400
Re: A little tip Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-03 15:52 +0200
Re: A little tip Shelly <sheldonlg@thevillages.net> - 2012-04-03 10:20 -0400
Re: A little tip Doug Miller <doug_at_milmac_dot_com@example.com> - 2012-03-30 19:36 +0000
Re: A little tip Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-30 16:21 -0400
Re: A little tip Doug Miller <doug_at_milmac_dot_com@example.com> - 2012-03-30 20:52 +0000
Re: A little tip Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-30 17:08 -0400
Re: A little tip Shelly <sheldonlg@thevillages.net> - 2012-03-30 17:22 -0400
Re: A little tip "Mr. B-o-B" <mr.chew.baka@gmail.com> - 2012-03-30 18:00 -0500
Re: A little tip Scott Johnson <noonehome@chalupasworld.com> - 2012-03-30 20:33 -0700
Re: A little tip Shelly <sheldonlg@thevillages.net> - 2012-03-30 17:20 -0400
Re: A little tip Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-03 15:56 +0200
Re: A little tip Shelly <sheldonlg@thevillages.net> - 2012-04-03 10:20 -0400
Re: A little tip Michael Fesser <netizen@gmx.de> - 2012-03-31 05:04 +0200
Re: A little tip Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-30 23:31 -0400
Re: A little tip Scott Johnson <noonehome@chalupasworld.com> - 2012-03-30 20:35 -0700
Re: A little tip Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-30 23:53 -0400
Re: A little tip Doug Miller <doug_at_milmac_dot_com@example.com> - 2012-03-31 11:58 +0000
Re: A little tip Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-31 09:05 -0400
Re: A little tip "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-04-02 09:42 +0200
Re: A little tip "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-04-02 10:22 +0200
Re: A little tip Shelly <sheldonlg@thevillages.net> - 2012-04-02 08:15 -0400
Re: A little tip "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-04-02 14:27 +0200
Re: A little tip Shelly <sheldonlg@thevillages.net> - 2012-04-02 09:40 -0400
Re: A little tip "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-04-02 23:43 +0200
csiph-web