Re: Re: PHP 5.1 (Or How to break tousands of apps out there)
| From: | Marian Kostadinov | Date: | Sat, 26 Nov 2005 20:20:26 +0000 |
| Subject: | Re: Re: PHP 5.1 (Or How to break tousands of apps out there) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20581@lists.php.net to get a copy of this message | ||
+1 from me. \ looks ugly ... like escaping something:)
On 26/11/05, David Zülke <dz@bitxtender.com> wrote:
> This is funny... I was just about to write a mail and propose ":::".
> So... +1 from me ;)
>
> - David
>
>
> Am 26.11.2005 um 21:10 schrieb Jessie Hernandez:
>
> > All,
> >
> > What would you say if I managed to solve this problem, but that the
> > solution entailed changing the namespace separator to ":::"? The
> > code below works fine locally.
> >
> > Is ":::" unacceptable? Personally, I think anything is better than
> > using "\", and ":::" is not bad for me. If not, which character
> > sequence do all of you prefer?
> >
> >
> > <?php
> > namespace ns
> > {
> > const CON1 = 'a';
> > const CON2 = 'b';
> > }
> >
> > echo true ?ns:::CON1:ns:::CON2;
> > ?>
> >
> >
> > Regards,
> >
> > Jessie
> >
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>