That's a good compromise, IMO. Thanks for the link. I haven't kept up on what's in store. This looks particularly tasty:
// iterate over multi-dimensional array foreach( $a as $k => list($b, $c)) (the example shown wouldn't work because $a was used twice) On Wed, May 21, 2008 at 2:23 PM, Dardo Sordi Bogado <[EMAIL PROTECTED]> wrote: > > Anyway, isn't var coming again in PHP 6 ? > > http://www.corephp.co.uk/archives/19-Prepare-for-PHP-6.html > > On Wed, May 21, 2008 at 2:06 PM, Chris Hartjes <[EMAIL PROTECTED]> wrote: >> >> On Wed, May 21, 2008 at 1:03 PM, mustan9 <[EMAIL PROTECTED]> wrote: >>> >>> Hi, >>> >>> The var keyword is deprecated in PHP5. The Cake documentation and >>> source code constantly use this keyword to define properties for >>> classes. The documentation should be changed, and all references to >>> var should be replaced with the correct visibility of that member >>> variable. >> >> CakePHP 1.x is PHP 4 compatible, so that is why 'var' is being used. >> >> -- >> Chris Hartjes >> Internet Loudmouth >> Motto for 2008: "Moving from herding elephants to handling snakes..." >> @TheKeyBoard: http://www.littlehart.net/atthekeyboard >> >> > >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
