You are here: Re: Best to use single or double quote for forming strings? « PHP Programming Language « IT news, forums, messages
Re: Best to use single or double quote for forming strings?

Posted by Jasen Betts on 02/19/06 05:53

On 2006-02-18, MrBiggles <mrbiggles909@yahoo.com> wrote:
> Here's something I've been wondering. Do most of you use single or
> double quotes as a string encapsultor?
>
> ex:
> $s = "This is a string, I can embed ' with no prob";
> vs.
> $s = 'This is a string, I can embed " with no prob';
>
> Is there an advantage or best-practice reason to choose one over the other?

the PHP manual chapter 11:

download or otherwise get a copy of the PHP manual onto your LAN. it's much
easier to use when you don't have to wait for it to come from a distant
server

Bye.
Jasen

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация