08.04.2013, 10:34
Quote:
There is no difference between single and double quotes in php. It's just good practice to use single quotes for arrays/indexes and double qoutes for declarations of strings (although it's more of a personal preference - I use single quotes as much as I can).
For example, it's common to do: PHP код:
PHP код:
http://nikic.github.io/2012/01/09/Di...ance-Myth.html |
This is a little out-dated but it shows a difference between the two.
But you can code however you want.. that's just a tip.