Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Matthew Carter Newsgroups: comp.lang.php Subject: Re: $-sign in form input names? Date: Tue, 04 Nov 2014 09:31:25 -0500 Organization: Ahungry (http://ahungry.com) Lines: 19 Message-ID: <874muf596q.fsf@ahungry.com> References: <996e3930-f711-4338-9093-07115af47380@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="7c986cd4736462de309a749b207746fe"; logging-data="3640"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QjCVHRLp60NAsI0h03yDa" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:iB5dqOrCSRa5ziZmSgrsomFkSmw= sha1:3qQmTplaF5OWCgP1juykBghOCkU= Xref: csiph.com comp.lang.php:14457 "Christoph M. Becker" writes: > J.O. Aho wrote: > >> As the double quotes will make the string to be parsed every time, which >> causes some slight overhead. > > But see > . I personally prefer single quotes + concatenation (or even better, sprintf) for readability. Emacs' php-mode isn't so great at highlighting variables inside double quotes. -- Matthew Carter (m@ahungry.com) http://ahungry.com