> Do you think we are deprecating split() just for fun?

Yes, exactly. It's just made for _fun_ by core developers and brought 
headache
to people developing in php.

> 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().

Well, this filled up my php logs with some million records telling me this!
Do you think it's safer to keep thinking and have an opportunity to miss 
anything
dangerous in the logs just becase they are flooded.

> 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.

If these changes are minor, why don't you provide a version of split for 
php6 that will make them
on the fly? Why don't you consider the other scenarios that would maintain 
the language BC?

>
> And this has nothing to do with this thread.  Please keep your rants at
> least somewhat on topic.

It has direct relation to this thread because it's all about the policy of 
the changes in the language.
Some pain changes are already done, some painless are not allowed.
Whould you please make your position more public and clearer?

-jv 



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

Reply via email to