Anthony Ferrara wrote:
I know that 6.0 was originally supposed to be the unicode conversion of the
engine. However it appears that all progress on that has stopped for quite
some time.

Has the requirement for a truly clean unicode version of PHP actually gone away?

Yes on the whole the existing code can handle unicode content without breaking it, and in a few places unicode names can be used, but the ability to write scripts using unicode so that local translations of variable names can be used still has a place in this multilingual world. The discussion about tolower and the problems created by sections of php not being case sensitive are probably the major stumbling block to a unicode version of PHP? Personally I am limited to UK English, so I can live with the restrictions, but I CAN see it being something of a blocker in the rest of the world where English is simply another hurdle, and I have always considered using different case versions of the same function as simply wrong. Lets just drop case insensitivity.

So rather than adding more and more hurdles to maintaining existing code, can the initial discussion be 'Just how far should support for unicode go?'

1. Change the error handling system from the current E_* system to typed
exceptions for everything but advisory errors (E_STRICT, E_NOTICE,
E_DEPRECATED). Why? Because the current error system encourages ignoring or
not checking what the error was, and it makes defensive programming quite
difficult. This is arguable and preference for sure, but it's a major
change that could have large benefits.

Having already spent several weeks working on re-writing perfectly clean PHP5.2 code to remove all of the E_STRICT, E_NOTICE and E_DEPRECATED warnings my own view is that the bulk of those changes have added nothing to any of the applications !!! The exercise had to be done simply to get around all the problems created by PHP5.3/4 installations that had not considerer how older code should be handled ... and simply broke it ... and most of the ISP's of the sites I've helped get working again have only just 'upgraded' to PHP5.3 ...

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to