Re: Variable variables and references

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-03-14 at 12:39 +0100, Jochem Maas wrote:
> Richard Lynch wrote:
> > On Sat, March 10, 2007 6:28 am, Dave Goodchild wrote:
> >> Hi guys, I have just read 'Programming PHP' (O'Reilly) and although I
> >> think
> >> it's a great book, I am confused about variable variables and
> >> references -
> >> not the mechanics, just where you would use them.
> >>
> >> The subject of variable variables is explained but no examples are
> >> given as
> >> to why and where you would utilise them.
> > 
> > 99% of the time, using variable variables means you screwed up and
> > should have used an array. :-)
> 
> you could change that adage to this and it would still be true ;-) :
> 
> "75% of the time, using <fill in a blank> means you screwed up and
> should have used an array. :-)"
> 
> 	- Lynchism #3

I'm certain it conforms to the golden ratio :)

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux