Hi Nathanael,
If you've been watching the list you could have seen that David Wang
(god bless his soul) is working on this at the moment. Have a look at
http://marc.info/?l=php-dev&m=118418663902191&w=2.
You'll have to stick with your custom solution for now though.
Best regards,
Arnold
Na
On Friday 10 August 2007, Stanislav Malyshev wrote:
> > Incorrect, a name for a feature should show what kind of
> > functionality we implemented. Picking names just for marketing reasons
> > "Oh see, PHP has namespaces" is a bad idea.
>
> I, on the contrary, think it is a good idea to consider per
Hello,
I have a case where an object has a few variables, a couple of which
are objects which hold references back to this object.
So very simply something like
class A {
var B
}
class B {
var A
}
When doing something like so
$obj = new A(); in a loop the object's never released from
After all that has been said and done since this post:
http://marc.info/?l=php-dev&m=118355320225178&w=2
Is it safe to say that this functionality laid out is still
representative of what is involved in the "namespace" patch?
Yes, though there might be some fine points omitted, etc. but in gen
After all that has been said and done since this post:
http://marc.info/?l=php-dev&m=118355320225178&w=2
Is it safe to say that this functionality laid out is still
representative of what is involved in the "namespace" patch?
Or, is there a wiki / proposal page somewhere that would better
exe
Except for a little thing, those are not namespaces, but something
more similar to packages.
What is "namespaces"? Here's wikipedia:
A namespace is a context in which a group of one or more identifiers
might exist. An identifier defined in a namespace is associated with
that namespace. The sa
On Fri, 2007-08-10 at 16:38 -0400, Cristian Rodriguez wrote:
> On 8/10/07, Marc Gear <[EMAIL PROTECTED]> wrote:
>
> > You're absolutly right.
> >
>
> Except for a little thing, those are not namespaces, but something
> more similar to packages.
namages?
packspaces?
tomayto?
tomahto?
*teehee*
On 8/10/07, Marc Gear <[EMAIL PROTECTED]> wrote:
> You're absolutly right.
>
Except for a little thing, those are not namespaces, but something
more similar to packages.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On 8/10/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
> I, on the contrary, think it is a good idea to consider perception.
> Perception is important, especially for low-barrier language like PHP.
> ...
> My perception is that when people talk about "namespaces" they usually
> mean logical sepa
Incorrect, a name for a feature should show what kind of
functionality we implemented. Picking names just for marketing reasons
"Oh see, PHP has namespaces" is a bad idea.
I, on the contrary, think it is a good idea to consider perception.
Perception is important, especially for low-barrier la
On 8/10/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
> > "package" is also shorter than "namespace". Just commit the stuff, it's
> > pointless to argue about it. Majority rules.
>
> Did we ever have a vote? Or it's one man with courage makes a majority? ;)
The later seems to be more true than
Hey Stanislav,
I think the issue is that of confusion. When I first heard PHP6 was going to
have namespaces, I was expecting namespaces like C++ or C#. What was actually
provided was confusing, at first, because it didn't behave like "namespaces" in
other languages that I've used.
Personally,
"package" is also shorter than "namespace". Just commit the stuff, it's
pointless to argue about it. Majority rules.
Did we ever have a vote? Or it's one man with courage makes a majority? ;)
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED] http://www.zend.com/
(408)253-8829
Well, our implementation is not namespaces, "packet" doesn't have any
Where I can see definition of what is "namespaces" and what is not?
I can live with "packages", though I like this name less - but what I
don't really understand is why anything that doesn't work like c++
namespaces can't no
Hi,
@Graham: It will probably be one of the two:
1- Overwrite the superglobal indexes ( $_GET['foo']->asFloat() )
2- Use a method/class to taint the value ( taint_float( $_GET['foo'] ) )
I illustrated both and why both have their drawback.
@Richard: I already read the Marco's article. My implemen
On 8/10/07, Jani Taskinen <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-08-10 at 14:35 +0200, Christian Schneider wrote:
> > Derick Rethans wrote:
> > > Well, our implementation is not namespaces, "packet" doesn't have any
> > > meaning in this case, so perhaps you have a better suggestion than
> > > "
On Fri, 2007-08-10 at 14:35 +0200, Christian Schneider wrote:
> Derick Rethans wrote:
> > Well, our implementation is not namespaces, "packet" doesn't have any
> > meaning in this case, so perhaps you have a better suggestion than
> > "package" then?
>
> Just a quick reminder to everybody here:
I have no serious objections about renaming. I am asking to wait a bit.
Dmitry.
> -Original Message-
> From: Marcus Boerger [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 10, 2007 4:34 PM
> To: Dmitry Stogov
> Cc: 'Johannes Schlьter'; 'PHP Internals List'; Andi Gutmans;
> Stanislav Ma
On Fri, 10 Aug 2007, Christian Schneider wrote:
> Derick Rethans wrote:
> > Well, our implementation is not namespaces, "packet" doesn't have any
> > meaning in this case, so perhaps you have a better suggestion than
> > "package" then?
>
> Just a quick reminder to everybody here: The feature i
Derick Rethans wrote:
> Well, our implementation is not namespaces, "packet" doesn't have any
> meaning in this case, so perhaps you have a better suggestion than
> "package" then?
Just a quick reminder to everybody here: The feature is important, the
name (package or namespace) is less so. Even
Hello Dmitry,
i actually only saw pros on the question. And the only remote nay i
spotted during my original complaint was that there might be languages noone
knows where packages are named namespaces as well. In general we so far
always explained or compared PHP features with/against Java and o
On Fri, 10 Aug 2007, Dmitry Stogov wrote:
> Please don't commit it.
> We didn't come to conclusion, what name is better 'namespace', 'package',
> 'packet' ...
Well, our implementation is not namespaces, "packet" doesn't have any
meaning in this case, so perhaps you have a better suggestion than
Please don't commit it.
We didn't come to conclusion, what name is better 'namespace', 'package',
'packet' ...
Thanks. Dmitry.
> -Original Message-
> From: Johannes Schlьter [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 10, 2007 1:27 PM
> To: PHP Internals List
> Cc: Dmitry Stogov
> S
Hello Johannes,
thanks for the work, this even fixes the WS issues introduced by the
orgininal patch.
marcus
Friday, August 10, 2007, 11:26:32 AM, you wrote:
> Hi,
> I think we reached the consensus to rename namespaces to packages as our
> implementation is more package-like. Therefore I wr
Hi,
I think we reached the consensus to rename namespaces to packages as our
implementation is more package-like. Therefore I wrote the corresponding
patch which tries to get rid of all "namespaces" and "ns" (well, not all
"ns" only the namespace-related ones of course) used in the code.
Additiona
On 10/08/07, Guilherme Blanco <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It seems you had an interesting idea, but AFAIK it'll not incorporated
> in core by PHP Team.
> Yeah, sounds bad, but you cannot simply turn all variables into
> objects and try to get them.
>
> Seems you're trying something like th
On 10/08/07, Guilherme Blanco <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It seems you had an interesting idea, but AFAIK it'll not incorporated
> in core by PHP Team.
> Yeah, sounds bad, but you cannot simply turn all variables into
> objects and try to get them.
>
> Seems you're trying something like th
On 09/08/07, Tim Starling <[EMAIL PROTECTED]> wrote:
> Richard Quadling wrote:
>
> >On 09/08/07, Nuno Lopes <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Things are not that simple.
> >>I would advise you to read a more than one year thread about the very same
> >>subject: http://marc.info/?l=php-dev&m=11
28 matches
Mail list logo