thank god PHP doesn't have qq// and q//, it's one of the few things I
can't stand in Perl (along with the 100 different ways of calling the
same variable (@var, $var, %var, etc.). Just use a standard delimiter
with standard, normal, quotes. It's really not that hard.
Anthony Ettinger wrote:
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 <[EMAIL PROTECTED]> 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php