Funny, but did not find in Habré mention of this, even in the comments. It's time to eliminate this disadvantage, because many people use only Habr as a source of information.
So PHP 6 will not, in general. On March 11, 2010, the development team decided to cancel the release of PHP 6 in its current form. As a result, the trunk with PHP 6 was moved to the brunch, and a new version was formed in the trunk - 5.4, in which developers transferred all the developments from PHP 6, except for unicode.
Below is a
brief retelling of the presentation (pdf) made by Andrei Zmievski at the PHP Community Conference in 2011.
')
But first, consider how Unicode is supported now.
- In the source code:
- , [a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*. :
function (){}
- UTF-8 BOM, , . HTML- , PHP- PHP- ?>
- :
- , UTF-8, , .
- xml UTF-8 ISO-8859-1 , .
- mbstring (Multibyte String), , . .
?
mbstring, .
, , . , php-, , , , , . ,
mbstring .
:
, .
- UTF-8 — : ASCII, , , .
- UTF-16 — : ICU, .
- UTF-32 — : .
, UTF-16 - ICU. , , , , UTF-8, .
-: , ICU.
-: .
-: .
PHP- , , .
mbstring . , . PHP .
- — .
- — .
- , — .
- (stay committed).