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
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
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
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
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
[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
> 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
[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
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
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
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
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 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 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
14 matches
Mail list logo