Re: Re: PHP 5.1 (Or How to break tousands of apps out there)
| From: | Jessie Hernandez | Date: | Sat, 26 Nov 2005 20:10:05 +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 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20576@lists.php.net to get a copy of this message | ||
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