On Fri, 5 Jul 2002, Uwe Birkenhain wrote:
> Miguel Cruz schrieb ...
>> On Tue, 2 Jul 2002, Uwe Birkenhain wrote:
>>> A question - since english is not my first language - what do you mean
>>> with
>>>
It's not all that common to bury constants in strings
>>>
>>> Is something bad about it?
>>
Miguel Cruz schrieb in Nachricht ...
>On Tue, 2 Jul 2002, Uwe Birkenhain wrote:
>> A question - since english is not my first language - what do you mean
with
>> >It's not all that common to bury constants in strings
>>
>> Is something bad about it?
>
>I think so. It would slow parsing down to a c
On Tue, 2 Jul 2002, Uwe Birkenhain wrote:
> A question - since english is not my first language - what do you mean with
> >It's not all that common to bury constants in strings
>
> Is something bad about it?
I think so. It would slow parsing down to a crawl and create a host of
ambiguities if ev
Richard Lynch schrieb in Nachricht
<20020701232114.VOAI6023.sccrmhc02.attbi.com@[192.168.1.103]>...
>
>Try this:
>$my_string = "This is {MY_CONSTANT} and I love it!";
>
>Can't promise it will work, mind you...
>
>It's not all that common to bury constants in strings... And is the extra
"
>. " K
>Hi,
>when reading about constants (define('MY_CONSTANT', 'my value'))
>I got convinced that they are pretty usefull.
>
>But now it seems to me, that I can't use them inside a string:
>$my_string = "This is MY_CONSTANT and I love it!";
>
>but that I must take them out:
>$my_string = "This is" . MY
5 matches
Mail list logo