
03-28-2014, 08:32 AM
|
 |
|
|
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Zend uses quotes... http://framework.zend.com/manual/1.1...ing-style.html
PHP doco says use quotes... http://www.php.net/manual/en/language.types.array.php
Quote:
Array do's and don'ts ?
Why is $foo[bar] wrong? ?
Always use quotes around a string literal array index. For example, $foo['bar'] is correct, while $foo[bar] is not. But why? It is common to encounter this kind of syntax in old scripts:
|
Read more in link above
|