Re: [PHP-DEV] Use of 'self' in static function in subclass

2004-06-01 Thread Adam Bregenzer
inheritance. If a developer wanted a call to not respect inheritance the class's name can be used instead of self with the same results (increased code maintenance should the class name change notwithstanding). -- Adam Bregenzer [EMAIL PROTECTED] http://adam.bregenzer.net/ -- PHP Internals - PHP

Re: [PHP-DEV] delete in PHP

2004-06-01 Thread Adam Bregenzer
used count as a method name in a class before without error. I assume that since it is a method of a class it does not conflict with the existing count[2] function, even though it may, arguably, be bad coding style. [1] http://www.php.net/unset [2] http://www.php.net/count -- Adam Bregenzer [EMAIL

Re: [PHP-DEV] www.php.net RC1 News - Front Page

2004-03-18 Thread Adam Bregenzer
in addition to its functional interface; as well as support for many of MySQL's new features, such as prepared statements. -Adam -- Adam Bregenzer [EMAIL PROTECTED] http://adam.bregenzer.net/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] Adding a few debug helpers to php4.x

2004-03-03 Thread Adam Bregenzer
this directly in php? You could use trigger_error in the constructor to stop the script from executing if the object is instantiated more than once. -- Adam Bregenzer [EMAIL PROTECTED] http://adam.bregenzer.net/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2

2004-02-17 Thread Adam Bregenzer
exceptions. http://www.darrenhobbs.com/archives/000411.html He has a great perspective on checked exceptions. http://www.soletta.com/categories/javaEtc/2003/08/27.html#a324 Just another perspective to ponder. :) Regards, Adam -- Adam Bregenzer [EMAIL PROTECTED] http://adam.bregenzer.net

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_default_classes.c zend_default_classes.h zend_execute.h zend_execute_API.c

2004-02-15 Thread Adam Bregenzer
errors. Regards, Adam -- Adam Bregenzer [EMAIL PROTECTED] http://adam.bregenzer.net/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] New destructors implementation

2004-02-06 Thread Adam Bregenzer
these outside of any instance? -- Adam Bregenzer [EMAIL PROTECTED] http://adam.bregenzer.net/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] RC1

2004-02-04 Thread Adam Bregenzer
by default? I think we should consider both. +1 I'm all for including SOAP, I am on the fence about enabling it by default. I would say if it relies on an external library that would otherwise not be needed for a default install then no. -- Adam Bregenzer [EMAIL PROTECTED] http://adam.bregenzer.net

Re: [PHP-DEV] New exceptions mechanism

2004-02-03 Thread Adam Bregenzer
post for reference: http://marc.theaimsgroup.com/?l=php-generalm=107575408628272w=2 If there is another way to achieve what I am looking for I would be very appreciative if someone could point me in the right direction. Regards, Adam -- Adam Bregenzer [EMAIL PROTECTED] http://adam.bregenzer.net

Re: [PHP-DEV] New exceptions mechanism

2004-02-03 Thread Adam Bregenzer
in there. Is there no better way? Thanks again, Adam -- Adam Bregenzer [EMAIL PROTECTED] http://adam.bregenzer.net/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] New exceptions mechanism

2004-02-03 Thread Adam Bregenzer
in a class. If this were true I could use class_name($this) in a static method to achieve what I am looking for. If there is no current effort to implement static variables I would be willing to make a go at it, if no one is opposed and there is still time to add it to php5... -- Adam Bregenzer

Re: [PHP-DEV] __clone() implementation

2004-02-02 Thread Adam Bregenzer
be a good thing. What if I do $copy = clone $some_obj; when $some_obj's class and all its parent classes do not implement __clone? This could be important if someone were to write proper php5 code that used classes written for php4. -- Adam Bregenzer [EMAIL PROTECTED] -- PHP Internals - PHP