Hi!
There are advantages to strict typing other than speed and safety. The biggest compliant I hear from people asking for this is that weak hinting often leads to bulkier code that is much more difficult to read, particularly for someone who frequently switches between PHP and compiled languages like C++ and C#.
If somebody finds PHP much more difficult to read than C++, well, he obviously has a very different concept of reading than the rest of the humankind. As for other points, I don't think it really makes sense to discuss making PHP into C++ or any kind of strict typed language. If one needs strict typed compiled language, one knows where to find plenty of them.
Therefore, allowing for strict typing, i.e. leaving it to the discretion of the code author, would not necessitate converting PHP into a compiled
I would really wish when we have this annual strict typing discussion people would bother to read past ones. Partial strict typing does not work, and in general strict typing in non-compiled language is asking for trouble. We talked about it many times.
-- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php