Case insensitivity weakened the power of overloading
| From: | Wei He | Date: | Sun, 18 May 2003 12:07:29 +0000 |
| Subject: | Case insensitivity weakened the power of overloading | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-1655@lists.php.net to get a copy of this message | ||
Hi,
Besides in-php use of class method/property overloading,
XML-RCP can be a perfect application of this functionality.
But again it touchs the sensitive topic of case sensitivity of Zend.
With CS, an RPC call will be
$rpcclient->methodname($arg1, $arg2);
instead of
$rpcclient->call($methodname, $arg1, $arg2);
SOAP'w workaround of collecting all available methods
is efficient and sometime not support by all XML-RPC servers.
Especially when the method is also a dynamic call on the
server side. Think of a Python(Zope) XML-RPC server.
As Zend Engine 2 can change the world such a lot, why not just
a little bit on class/method/function name's case sensitivity?
When I am wriing this message, I'm compiling my PHP with CS patch.
I noticed, besides some internal places like Zend, aggregate and overload
need to be patched, the bundled PEAR also need to be patch to at least
make the RPM buildable.
I also saw how the author hates case insensitivities, so I'm not afraid
of posting this issue again.
Please give me some reasons why not. How about in Zend Engine 2?
Wei He