HAND?

I haven't seen that one...

> -----Original Message-----
> From: David T-G [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 12, 2004 11:34 AM
> To: PHP General list
> Cc: Jeremy Schroeder
> Subject: Re: [PHP] A dumb question
> 
> Jeremy --
> 
> You have started a new thread by taking an existing message and replying
> to it while merely changing the Subject: line.
> 
> That is bad, because it breaks threading.  Whenever you reply to a
> message, your mail client generates a "References:" header that tells all
> recipients to which posting(s) your posting refers.  A mail client uses
> this information to build a "thread tree" of the postings so that it is
> easy to see just how they relate to each other.
> 
> With your posting style you successfully torpedoed this useful feature;
> your posting shows up within an existing thread even though it is
> completely unrelated.
> 
> Always do a fresh post when you want to start a new thread.  That means
> that you do not select any sort of "Reply" when you start your message.
> You can save the list address in your address book (or equivalent) for
> convenience.
> 
> ...and then Jeremy Schroeder said...
> %
> % Hey Group
> 
> Hi!
> 
> 
> %
> % I am starting to write class and objects and came across some syntax
> % that I dont understand.
> %
> % What does the ampersand do in the bottom example code, they both work.
> %
> % $n1 = $num1 -> function();
> % $n1 = & $num1 -> function();
> 
> 1) Search the manual.
> 
> 2) Assigning by reference, as compared to the default assigning by value,
> means that the variable on the left of the '=' now points to the very
> same little chunk of memory as the variable on the right.  This is
> different from the usual assignment in that when you change the left var
> you change the value for the right var, too.
> 
>   $a = 1 ;
>   $b = $a ;
>   $c = &$a ;
>   $b++ ; $c-- ;
>   print "a = $a ; b = $b ; c = $c ;\n" ;
>   // a = 0 ; b = 2 ; c = 0
> 
> 3) You can't, as far as I know, assign-by-reference a function, so your
> code should generate a parse error.
> 
> 
> %
> % -Blake
> 
> 
> HTH & HAND
> 
> :-D
> --
> David T-G                      * There is too much animal courage in
> (play) [EMAIL PROTECTED] * society and not sufficient moral courage.
> (work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and
> Health"
> http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!



****************************************************************** 
The contents of this e-mail and any files transmitted with it are 
confidential and intended solely for the use of the individual or 
entity to whom it is addressed.  The views stated herein do not 
necessarily represent the view of the company.  If you are not the 
intended recipient of this e-mail you may not copy, forward, 
disclose, or otherwise use it or any part of it in any form 
whatsoever.  If you have received this e-mail in error please 
e-mail the sender. 
****************************************************************** 


Reply via email to