Re: Re: namespace separator and whining
| From: | Robert Cummings | Date: | Mon, 27 Oct 2008 02:38:51 +0000 |
| Subject: | Re: Re: namespace separator and whining | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41408@lists.php.net to get a copy of this message | ||
On Mon, 2008-10-27 at 09:28 +1030, Andrew Mason wrote:
> So can I just confirm that what was previously
>
> <?php
>
> $x = new Framework::Utils::Foo();
> $y = new Project::PEAR::Bar( 'somestring' );
>
>
> ?>
>
> is now
>
> <?php
>
> $x = new Framework\Utils\Foo();
> $y = new Project\PEAR\Bar( 'somestring' );
>
> ?>
>
>
> Is this correct ?
Wouldn't it be:
<?php
$x = new Framework\Utils::Foo();
$y = new Project\PEAR::Bar( 'somestring' );
?>
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP