Posted by Andy Jeffries on 05/05/06 15:00
On Fri, 05 May 2006 11:59:56 +0000, Andy Jeffries wrote:
>> I don't understand, what does the double dollar mark denote?
>
> OK, it's the same as follows:
>
> $name = "foo"
> $foo === $$name;
Another way of explaining it would be to use fictional brackets:
$("foo") === $("$name")
Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
[Back to original message]
|