Re: [PHP-DEV] Re: new overloading feature?

2005-05-09 Thread Sebastian Bergmann
Lukas Smith wrote: > http://bugs.php.net/bug.php?id=30235 I agree with Marcus: self is bound at runtime, so the behaviour is correct. If you do not like this late binding just do not use self but the name of the class. -- Sebastian Bergmann http://www.sebastian-bergmann.d

[PHP-DEV] Binary data in session

2005-05-09 Thread john
I have been developing a site which stores an image files binary data inside a session variable. Initially, I was developing this site on the following environment: Apache-2.0.52/PHP5.0.3/Windows XP Things worked very well, as I expected them to anyway. I would upload images and they would be m

Re: [PHP-DEV] Re: new overloading feature?

2005-05-09 Thread Lukas Smith
George Schlossnagle wrote: I'm not an OO expert, but doesn't this break a fundamental semantic of OOP -- namely that new() returns a new object of the specified class. Isn't this the whole reason that the Singleton pattern exists? yeah I would agree that we should always try to find a non magic

Re: [PHP-DEV] make new return a reference to existent object

2005-05-09 Thread Jason Garber
Hello, -1 New implies "new". Use a factory. Maybe we should add an old construct: $object = old MyClass(); Just kidding :) -- Best regards, Jasonmailto:[EMAIL PROTECTED] Monday, May 9, 2005, 10:30:56 AM, you wrote: LP> I would like (for code cle

Re: [PHP-DEV] Re: make new return a reference to existent object

2005-05-09 Thread Jason Sweat
On 5/9/05, Sara Golemon <[EMAIL PROTECTED]> wrote: > > I would like (for code cleanliness purposes) to make 'new' > > return a reference to an already created object under certain > > circumstances without using a factory, is it possible? > > > * Sara whispers "old" into the conversation and runs a

Re: [PHP-DEV] Re: new overloading feature?

2005-05-09 Thread George Schlossnagle
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] writes: Leonardo Pedretti <[EMAIL PROTECTED]> writes: I would like (for code cleanliness purposes) to make 'new' return a reference to an already created object under certain circumstances without using a factory, is it possible? A number of months

[PHP-DEV] Re: make new return a reference to existent object

2005-05-09 Thread Sara Golemon
> I would like (for code cleanliness purposes) to make 'new' > return a reference to an already created object under certain > circumstances without using a factory, is it possible? > * Sara whispers "old" into the conversation and runs away -- PHP Internals - PHP Runtime Development Mailing List

[PHP-DEV] Re: new overloading feature?

2005-05-09 Thread Derrell . Lipman
[EMAIL PROTECTED] writes: Leonardo Pedretti <[EMAIL PROTECTED]> writes: > I would like (for code cleanliness purposes) to make 'new' return a > reference to an already created object under certain circumstances without > using a factory, is it possible? A number of months ago, I proposed a simil

[PHP-DEV] Re: make new return a reference to existent object

2005-05-09 Thread Jason Barnett
Leonardo Pedretti wrote: I would like (for code cleanliness purposes) to make 'new' return a reference to an already created object under certain circumstances without using a factory, is it possible? Thanx "Under certain circumatances" ? ... If it's only under certain circumstances that you wan

[PHP-DEV] make new return a reference to existent object

2005-05-09 Thread Leonardo Pedretti
I would like (for code cleanliness purposes) to make 'new' return a reference to an already created object under certain circumstances without using a factory, is it possible? Thanx -- Leonardo Pedretti Axon Sistemas LĂ­der de Equipo Proyecto Basalto -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] [PATCH] install ext/gd headers

2005-05-09 Thread Jani Taskinen
I added PHP_INSTALL_HEADERS() macro in HEAD. And used it with gd so now those headers are installed. Feel free to backport the patch(es). --Jani On Mon, 14 Feb 2005, Joe Orton wrote: On Thu, Feb 10, 2005 at 03:21:45PM +0200, Jani Taskinen wrote: While this patch works fine, what

Re: [PHP-DEV] PATCH to check for availablity of getlogin and getgroups to posix extension

2005-05-09 Thread Jani Taskinen
Patches applied to all branches. Just in case. :) --Jani On Thu, 5 May 2005, Kamesh Jayachandran wrote: Hi Jani, Netware LibC does not have getgroups implemented, it has getlogin functionality in recent LibC. As ext/posix/posix.c does not have #ifdef HAVE_GETLOGIN and #ifdef HAVE_GETGROUPS

[PHP-DEV] PHP 4 Bug Summary Report

2005-05-09 Thread internals
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (763 total including feature requests) ===[*General Issues]== 27372 Verified parse error loading browscap.ini at apache startup (new parser required) ===

[PHP-DEV] PHP 5 Bug Summary Report

2005-05-09 Thread internals
PHP 5 Bug Database summary - http://bugs.php.net Num Status Summary (277 total including feature requests) ===[*General Issues]== 29971 Assigned variables_order behaviour 32924 Assigned file included with "auto_prepend_file" can be