Re: [PHP-DEV] towards the next 5.3 release

2009-02-06 Thread Tony Bibbs
on internals@ on what apps have > been successfully been run on 5.3 and whether they required any > tweaking. If after we make a list there's still need to reach out I'd be > happy to do some of that. > > Andi > > -- > PHP Internals - PHP Runtime Development Maili

[PHP-DEV] Autoload and namespaces

2008-12-04 Thread Tony Bibbs
Given this: use \MyProject\SubProjectA as A; A\foo::someMethod(); The className given is to the autoload function is "MyProject\SubProjectA\foo" not "\MyProject\SubProjectA\foo" (notice lack of leading \) I just wanted to verify that behaves as intended (which I'm gue

Re: [PHP-DEV] my last attempt at sanity with namespaces

2008-10-15 Thread Tony Bibbs
"Conflict Between Namespaced Functions and static class methods" I think #3 ("use namespace" or "use class") makes the most sense. I assume if there is a conflict without being explicit it would give an error? I also assume in the even of no conflict you can still just say "use foo" and will

Re: [PHP-DEV] namespaces and alpha3

2008-10-14 Thread Tony Bibbs
Hi Steph, [snip] This is very negative, Stas. "Everybody wants it so let's push it out without testing". Do you really want a repeat of 5.0? [/snip] I don't think Stas is implying not to test it. We are talking about another 5.3 alpha, right? Clearly the beta and RC releases will allow the c

Re: [PHP-DEV] namespaces and alpha3

2008-10-14 Thread Tony Bibbs
This is what I've be fearing. First slated for 5.0. Then 5.3. Now 6.0. It appears there's consensus to rip it out which, in my prior post, I was all for if people felt it meant getting it right. Apparently that is the case. I guess my main question is what keeps this from being pushed yet

Re: [PHP-DEV] namespaces and alpha3

2008-10-10 Thread Tony Bibbs
I'm against ditching it. This on-again-off-again affair with namespaces really should be put to bed as I believe many in the community are really looking forward to them. If it is taken out of 5.3 this same line of logic will be used on all subsequent versions. I don't question it is a hard d

Re: [PHP-DEV] true namespaces, yet another point of view

2008-09-23 Thread Tony Bibbs
I disagree here...it is both wanted and and needed. This feature has been promised to the community for quite some time now and I'd simply remind you you do have the option of *not* using namespaces if you don't want too. If you like REALLY_LONG_CLASS_NAMES that's still perfectly valid. Don't

Re: [PHP-DEV] Reference cycle collector patch

2007-10-08 Thread Tony Bibbs
For the untrained eye, would this then fix these bugs? http://bugs.php.net/bug.php?id=33595 http://bugs.php.net/bug.php?id=33487 --Tony - Original Message From: David Wang <[EMAIL PROTECTED]> To: internals@lists.php.net Sent: Monday, October 8, 2007 2:12:31 AM Subject: [PHP-DEV] Referen

Re: [PHP-DEV] Renaming namespaces to packages

2007-08-20 Thread Tony Bibbs
Having watched this thread intently for the past few weeks, we seem to be simply tripping over the semantics of it all, right? Thinking a bit outside the box, how hard would it be to simply use both names, one as an alias of the other? In the end the documentation will probably need to outline

Re: [PHP-DEV] RIP PHP 4?

2007-07-06 Thread Tony Bibbs
FWIW this is very much in line with bigwigs like IBM and how they manage WebSphere releases (not that they are a model citizen but worth noting). I personally see no problem with this but given how widespread PHP4 use is I'd recommend maybe pushing the date out 3 more months to the March '08 t

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-05 Thread Tony Bibbs
As a PHP user also frustrated with lack and namespaces and having lurked here for a while I know there was a prior proposal and many countless, lengthy discussions on separators and all. Have the prior proposals been invalidated? --Tony - Original Message From: Stefan Priebsch <[EMA

Re: [PHP-DEV] google SoC - dbobj

2007-03-19 Thread Tony Bibbs
Lukas Kahwe Smith wrote: FYI: You are mistaken if you think that moving from the old extensions to PDO provides a speed improvement (there is rather decrease unless you are using fetchAll()). Sorry, I wasn't clear on this. Creole is the DB abstraction layer on top of the "old extensions".

Re: [PHP-DEV] google SoC - dbobj

2007-03-19 Thread Tony Bibbs
Lukas Kahwe Smith wrote: IMHO a full ORM belongs into user space and not into C code. I kind of like the approach that ADODB did, which was taking an existing DBAL and moving selected items that where bottlenecks into C space. Thereby providing a drop in speed improvement, while keeping the C

Re: [PHP-DEV] Run-time taint support proposal

2006-12-20 Thread Tony Bibbs
As a casual observer of this thread, this was the explanation that really clarified the prior posts for me. I think having option 3 (enforcement mode) would be great, however, if everybody is tripping up on mis-managing expectations then I'd suggest a play on semantics by calling it something

Re: [PHP-DEV] Namespaces in PHP 6 - ++$take

2006-11-10 Thread Tony Bibbs
Ilia Alshanetsky wrote: If you properly pick a classname you almost never need to rename it let alone the methods contained with the class. Plus namespaces are going to introduce their own sets of problems where extension X adds namespace X, which some lib already decided to use and we are b

Re: [PHP-DEV] Namespaces in PHP 6 - ++$take

2006-11-10 Thread Tony Bibbs
While I could munge the class names in one or more packages as you suggest then I'm in maintainability hell because when I need to update one of the other packages (for security, features or bugfixes) you have to do the name munging again. C'mon, that ain't right. Next excuse? --Tony Patric

Re: [PHP-DEV] class defs from file?

2006-11-07 Thread Tony Bibbs
Ah, token_get_all() might be what I'm after. Thanks, --Tony Jochem Maas wrote: Tony Bibbs wrote: First post here so be gentle ;-) I've got a unique need to get the class definitions from a file. Now I can write the string manipulation necessary to do this myself with the help of

[PHP-DEV] class defs from file?

2006-11-07 Thread Tony Bibbs
First post here so be gentle ;-) I've got a unique need to get the class definitions from a file. Now I can write the string manipulation necessary to do this myself with the help of some regex-fu but I was wondering if it wouldn't be possible to add a method like: array getClassDefs(string

[PHP-DEV] Custom PHP session handler (MS SQL) and register_shutdown_function()?]

2003-08-14 Thread Tony Bibbs
Original Message Subject: RE: Custom PHP session handler (MS SQL) and register_shutdown_function()? Date: Thu, 14 Aug 2003 17:12:41 +0100 From: James Cox To: 'Tony Bibbs' The list is now [EMAIL PROTECTED] ... -Original Message----- From: Tony Bibbs [mai

[PHP-DEV] php5 interfaces...

2003-07-11 Thread Tony Bibbs
In PHP5 I noticed this behaviou with interfaces. If I have an interface with a method that takes no paramaters, an implementing class for that interfaces can have the same method take parameters...is that right? For example: interface foo { public function myFunction(); } class foobar impl