Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Short syntax for array in PHP
- Sebastian Deutsch
July 11, 2007, 1:46 pm
rate this thread
Re: Short syntax for array in PHP
The only other syntax I'm aware of that may save you some typing is the
automatic assignment of subscripts, i.e.
$a = "I'm"; //$a = "I'm"
$a = "the"; //$a = "the"
But as far as the "array" keyword ... no meaningful shortcut I'm aware of.
David T. Ashley (email@example.com)
http://www.e3ft.com (Consulting Home Page)
http://www.dtashley.com (Personal Home Page)
http://gpl.e3ft.com (GPL Publications and Projects)