jvlad wrote: > Meanwhile I see that php core developers and Evangelist propose the way of > evolving difficulties. > For example, I used split() for many many years. Now it throws a warning and > it appears > that this function will be removed soon. I have to rewrite all my scripts > and replace > this function with pcreXXXX one and make sure that pcre extension is > built-in everywhere. So BC is > broken in an ugly and a very unpleasant way. > Many php developers who count on split() are simply ignored. Like me, they > have to > spend their time for monkey work. Nobody asked for such changes!
Do you think we are deprecating split() just for fun? We are letting you know that you need to start thinking about migrating your code away from non-Unicode aware functions like ereg() and split(). The Web is going entirely Unicode as is PHP 6 and these functions simply do not support Unicode strings. preg_split() is a decent substitute and you should be able to convert to it with only minor changes in your regex. And this has nothing to do with this thread. Please keep your rants at least somewhat on topic. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
