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

Reply via email to