Re: [Operators overloading] PHP 5.1
| From: | Stanislav Malyshev | Date: | Thu, 03 Feb 2005 17:27:57 +0000 |
| Subject: | Re: [Operators overloading] PHP 5.1 | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14577@lists.php.net to get a copy of this message | ||
TS>>(***) This is how it's done in C++ (actually, a dummy int parameter), which
TS>>is a bit of a hack, to be able to specify both the pre- and
In C++, functions differ by argument. In PHP, they don't.
Not to say I view that C++ hack as a kludge which is accepted only because
there's no other choice, more or less.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115