Richard Quadling wrote:
2008/9/26 Nathan Rixham <[EMAIL PROTECTED]>:
Hi All,
Can anybody answer the following question for me please.
Why not follow (exactly) Java's strong static package/namespace system
rather than a home grown dynamic namespace system?
It works, it's common, logical, robus
2008/9/26 Nathan Rixham <[EMAIL PROTECTED]>:
> Hi All,
>
> Can anybody answer the following question for me please.
>
> Why not follow (exactly) Java's strong static package/namespace system
> rather than a home grown dynamic namespace system?
>
> It works, it's common, logical, robust, a working m
Hi All,
Can anybody answer the following question for me please.
Why not follow (exactly) Java's strong static package/namespace system
rather than a home grown dynamic namespace system?
It works, it's common, logical, robust, a working model to follow, and
ties in well with the PHP on Java
D] On Behalf Of David Coallier
> > Sent: Friday, August 17, 2007 8:24 PM
> > To: PHP Internals List
> > Subject: [PHP-DEV] Namespace question
> >
> >
> > Hey guys, looking at the minutes meeting from the paris conf
> > (http://php.net/~derick/meeting-notes.htm
List
> Subject: [PHP-DEV] Namespace question
>
>
> Hey guys, looking at the minutes meeting from the paris conf
> (http://php.net/~derick/meeting-notes.html), I was wondering
> if " Constants in name spaces are allowed unless we find
> problems with the implement
On 8/17/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
> > So my question is: Anyone thinking in doing const for namespaces thus
> > calling something like
> >
> > What::NAME; // echo 'booo'
>
> Yep, we are thinking of allowing const in namespace (and maybe even
> outside, since it'd be basicall
So my question is: Anyone thinking in doing const for namespaces thus
calling something like
What::NAME; // echo 'booo'
Yep, we are thinking of allowing const in namespace (and maybe even
outside, since it'd be basically the same) but we didn't arrive yet to
any decision if we can implement i
On 8/17/07, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote:
> "const" keyword is currently allowed only inside class-definitions;
> generic constants are specified using "define()"
>
I know that..
Right now you can do.
--File: ns.php--
namespace What
define ('NAME', 'booo');
class Tester
{
publ
"const" keyword is currently allowed only inside class-definitions;
generic constants are specified using "define()"
On 8/17/07, David Coallier <[EMAIL PROTECTED]> wrote:
> Hey guys, looking at the minutes meeting from the paris conf
> (http://php.net/~derick/meeting-notes.html), I was wondering i
Hey guys, looking at the minutes meeting from the paris conf
(http://php.net/~derick/meeting-notes.html), I was wondering if "
Constants in name spaces are allowed unless we find problems with the
implementation. " were implemented. I tried but putting
namespace MyPackage;
const NAME = 'inspace'
10 matches
Mail list logo