This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Here we go again... :(

Posted by: Anonymous Coward on February 28, 2007 11:44 PM
Adding Unicode support, Zmievski warns, will cause a certain amount of obsolescence in PHP. The set locale () string function, for example, will be deprecated. Zmievski also anticipates that "a couple of<nobr> <wbr></nobr>.ini options, and a couple of functions" will join it, but insists that "everything will work transparently" in the end.


Is that like the 'everything will work transparently' promise that the PHP developers made with the PHP4 to PHP5 changes to the object model? (For those of you who don't do lots of PHP, they changed the meaning of the = operator from assign by copy to assign by reference for objects. Everything more complex than helloworld.php got broken by that.)



Having said that, if PHP were to really get decent unicode support that works across platforms then I'll be happy. At present I have to carry around a gettext emulation layer (amongst other detritus) because I cannot guarantee that PHP actually has gettext installed, that the system has the locales installed and that I can work out the precise name of the locale on the installed machine (is it de_DE.UTF8 or de_DE.UTF8@euro or ge or<nobr> <wbr></nobr>...?).


Hopefully this is good news.... now if we can get the hosting companies to upgrade to PHP5 by the end of 2008 then perhaps we'll get PHP6 on those machines by<nobr> <wbr></nobr>.... ummm<nobr> <wbr></nobr>.... 2012?

#

Return to Upcoming PHP release will offer Unicode support