FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » A little tip
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: A little tip [message #177466 is a reply to message #177465] Sat, 31 March 2012 13:05 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 3/31/2012 7:58 AM, Doug Miller wrote:
> Jerry Stuckle<jstucklex(at)attglobal(dot)net> wrote in news:jl5v43$lk8$1(at)dont-email(dot)me:
>
>> On 3/30/2012 11:35 PM, Scott Johnson wrote:
>>> On 3/30/2012 1:52 PM, Doug Miller wrote:
>>>> Jerry Stuckle<jstucklex(at)attglobal(dot)net> wrote in
>>>> news:jl54k3$bv5$2(at)dont-email(dot)me:
>>>>
>>>> > On 3/30/2012 3:36 PM, Doug Miller wrote:
>>>> >> Jerry Stuckle<jstucklex(at)attglobal(dot)net> wrote in
>>>> >> news:jl4q1i$top$1(at)dont-email(dot)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.
>>>>
>>>
>>> waits patiently for apology from Doug to Jerry since he did admit he was
>>> wrong.
>>
>> Don't hold your breath...
>>
> Well, here it comes. Jerry, I do apologize. I hadn't seen your other post.

Thank you, Doug. I appreciate the apology.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: session variable doesn't appear in side bar
Next Topic: Doubt regarding an array of references...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 21:02:39 GMT 2024

Total time taken to generate the page: 0.04582 seconds