Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46547 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60337 invoked from network); 28 Dec 2009 10:58:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Dec 2009 10:58:15 -0000 X-Host-Fingerprint: 95.31.13.88 xdmitri2.static.corbina.ru Received: from [95.31.13.88] ([95.31.13.88:13684] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/CB-26502-64F883B4 for ; Mon, 28 Dec 2009 05:58:14 -0500 Message-ID: To: internals@lists.php.net References: <31.35.26502.C79573B4@pb1.pair.com> <1B.86.26502.42B673B4@pb1.pair.com> <4B3785AC.2000507@lerdorf.com> <8A.91.26502.CDB083B4@pb1.pair.com> <4B38106C.2080806@lerdorf.com> <4B384924.3040708@lerdorf.com> Date: Mon, 28 Dec 2009 13:58:09 +0300 Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Original X-Posted-By: 95.31.13.88 Subject: Re: [PHP-DEV] Unsetting loop variables at the end of the loop From: dmda@yandex.ru ("jvlad") > 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