Re: [PHP-DEV] new overloading feature?

2004-11-05 Thread cm
Andrey Hristov [EMAIL PROTECTED] writes: There are absolutely ways to do this purely at the application level. It just seems that it'd be a really clean, easy to program, easy to understand methodology to pass the key value to the request for a new instance, and get back either a new

Re: [PHP-DEV] new overloading feature?

2004-11-05 Thread cm
Yes, Pool. I just said that it is Singleton for multiple objects which in fact is pool. ..hence it's not a Singleton. :) Cheers, Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Negative string offset support

2004-10-29 Thread cm
Exactly what I thought when reading the original post :) - Michael why not add it with the {} operators then? -sterling On Fri, 29 Oct 2004 15:07:05 -0400, Ilia Alshanetsky [EMAIL PROTECTED] wrote: I am wondering what are people's opinions on adding support for negative string offsets

Re: [PHP-DEV] Exceptions and Errors

2004-04-15 Thread cm
[EMAIL PROTECTED] wrote: First of all, PHP's object model is most similar to the Java one, so Markus' comparisons make most sense in my eyes. The object model might be similar to Java (it's a very simple one which I like) but the language is not and *should not be* IMHO. Java got much too

Re: [PHP-DEV] Exceptions and Errors

2004-04-14 Thread cm
Marcus Boerger wrote: In no language i know (c++, delphi, java as the popular ones) a ctor First of all I'm a bit sad that you compare PHP with 'old' static OO languages, not 'modern' dynamic ones like Python or Ruby. Wrong focus IMHO. First of all, PHP's object model is most similar to the

Re: [PHP-DEV] Exceptions and Errors

2004-04-12 Thread cm
On Apr 12, 2004, at 10:58 AM, Adam Maccabee Trachtenberg wrote: On Mon, 12 Apr 2004, Ilia Alshanetsky wrote: There is 1 problem with this approach. Currently an uncaught exceptions results in a fatal error (E_ERROR) meaning that if a particular method throws an exceptions it MUST be

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_operators.c

2004-02-22 Thread cm
Derick Rethans wrote: On Sun, 22 Feb 2004, Derick Rethans wrote: On Sun, 22 Feb 2004, Andi Gutmans wrote: Huh? What platform crashes? Can you send reproducible C code? int main(void) { long a = -2147483648; long b = -1; long c; c = a % b; } Does anybody has a clue *why*