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
Surely you can't then interpolate the variables?
On 04/05/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
You can simplify usi single instead double quotes:
echo '
view
delete
';
:)
-afan
> John Wells wrote:
>> Personally, I get tired (and confused) when having to escape all of
>> tho
You can simplify usi single instead double quotes:
echo '
view
delete
';
:)
-afan
> John Wells wrote:
>> Personally, I get tired (and confused) when having to escape all of
>> those quotes like in the string you're trying to echo above. Perhaps
>> you'd consider HEREDOC as an alternative
You can:
list item
for example
On 04/05/06, John Hicks <[EMAIL PROTECTED]> wrote:
John Wells wrote:
> Personally, I get tired (and confused) when having to escape all of
> those quotes like in the string you're trying to echo above. Perhaps
> you'd consider HEREDOC as an alternative
John Wells wrote:
Personally, I get tired (and confused) when having to escape all of
those quotes like in the string you're trying to echo above. Perhaps
you'd consider HEREDOC as an alternative approach:
Here's n idea I've had and never expressed publicly before. I wonder if
some of you hav
7 matches
Mail list logo