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