Hi lover,
(sorry, couldn't resist)
The correct syntax is:
Note that static class elements are accessed using T_DOUBLE_COLON (::),
and that the namespace separator \ is used to join namespace and element
name.
OK... thanks for the clarification. That does actually make perfect sense to
me,
On Sun, 2008-10-26 at 21:46 -0500, Greg Beaver wrote:
> Robert Cummings wrote:
> > On Mon, 2008-10-27 at 09:28 +1030, Andrew Mason wrote:
> >> So can I just confirm that what was previously
> >>
> >> >>
> >> $x = new Framework::Utils::Foo();
> >> $y = new Project::PEAR:
Robert Cummings wrote:
> On Mon, 2008-10-27 at 09:28 +1030, Andrew Mason wrote:
>> So can I just confirm that what was previously
>>
>> >
>> $x = new Framework::Utils::Foo();
>> $y = new Project::PEAR::Bar( 'somestring' );
>>
>>
>> ?>
>>
>> is now
>>
>> >
>>
Hi Rob,
Wouldn't it be:
Yes, as I understand it.
- Steph
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2008-10-27 at 09:28 +1030, Andrew Mason wrote:
> So can I just confirm that what was previously
>
>
> $x = new Framework::Utils::Foo();
> $y = new Project::PEAR::Bar( 'somestring' );
>
>
> ?>
>
> is now
>
>
> $x = new Framework\Utils\Foo();
2008/10/26 Andrew Mason <[EMAIL PROTECTED]>:
> So can I just confirm that what was previously
>
>
> $x = new Framework::Utils::Foo();
> $y = new Project::PEAR::Bar( 'somestring' );
>
>
> ?>
>
> is now
>
>
> $x = new Framework\Utils\Foo();
> $y =
So can I just confirm that what was previously
is now
Is this correct ?
On Mon, Oct 27, 2008 at 9:12 AM, Nathan Rixham <[EMAIL PROTECTED]> wrote:
> Greg Beaver wrote:
>>
>> Hi all,
>>
>> Let me make this brief: there will be lots of complaining about the
>> namespace separator.
>>
>> Stop
Greg Beaver wrote:
Hi all,
Let me make this brief: there will be lots of complaining about the
namespace separator.
Stop. Now.
It serves no possible useful purpose. If you want to discuss why this
was chosen or suggest alternatives, feel free to write me *off-list*. I
would be more than hap