Re: Re: PHP 5.1 (Or How to break tousands of apps out there)
| From: | David Zülke | Date: | Sat, 26 Nov 2005 20:12:47 +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 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20577@lists.php.net to get a copy of this message | ||
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