Re: Quotation marks considered harmful

From: Date: Fri, 05 May 2006 08:16:17 +0000
Subject: Re: Quotation marks considered harmful
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-235622@lists.php.net to get a copy of this message
doesn't php have something like qq// and q// in perl? qq = double quote interpolation q = single quote (no interpolation) the delimiteer "/" can be any character you'd like. or, like stated previously, use a heredoc. or smarty-template engine. On 5/4/06, Richard Lynch <ceo@l-i-e.com> wrote:
On Thu, May 4, 2006 1:53 pm, John Hicks wrote: Why not develop a language syntax that has distinct open and close string delimiters? Because then you need to escape the closing character anyway, to have it as data, so what did you just gain, really? Not to mention that all the "good" matching possible delimiters are already taken for Arrays, code blocks, tag start/end, and order of operations. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html

« previous php.general (#235622) next »