Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feed.cnntp.org!news.cnntp.org!uucp.gnuu.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <1572324.RcaxXxdAkp@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Tue, 03 Apr 2012 15:56:02 +0200 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 8Bit Subject: Re: A little tip Newsgroups: comp.lang.php References: Followup-To: comp.lang.php MIME-Version: 1.0 Lines: 44 NNTP-Posting-Date: 03 Apr 2012 15:56:02 CEST NNTP-Posting-Host: 2ce4cdab.newsspool4.arcor-online.net X-Trace: DXC=UT90:3oY3N\E47KDAk81NW4IUK On 3/30/2012 4:52 PM, Doug Miller wrote: >> Jerry Stuckle […]: >>> On 3/30/2012 3:36 PM, Doug Miller wrote: >>>> Jerry Stuckle 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? PointedEars -- Use any version of Microsoft Frontpage to create your site. (This won't prevent people from viewing your source, but no one will want to steal it.) -- from (404-comp.)