Mark, You contradict yourself. You say that putting a warning in 5.3 isn't soon enough, since most people are a few versions behind. Yet you think it is an absolute outrage that something is being dropped in 6, which is a couple of years away anyway. The people that won't be on 5.3 in time to be notified of the change won't be upgrading to 6 for a year or two after the release anyway. If people are upgrading as new versions are marked stable, they've already seen the warnings. If they aren't, then there will be a ton of time for them to port their code to use PCRE before they get anywhere near installing 6. Besides, any time you upgrade to a major revision, you should basically expect your code to break. Since it's been pointed out that ereg will be moved to a PECL extension, hosting providers who have users that depend on ereg will be able to just install the extension. CRISIS AVERTED!
And in the meantime, you've insulted the core PHP developers and have made a big stink, when really, they're just trying to make the best decision for moving the language along. Good going. Unicode support is far more important than posix regex support. If you feel so strongly about keeping ereg, you should do the work required to keep it instead of pissing and moaning at others for not doing it, while making accusatory statements at people who donate their time to work on an open source project. Cheers, Mike. On Mon, Oct 12, 2009 at 2:57 PM, Ferenc Kovacs <i...@tyrael.hu> wrote: > On Mon, Oct 12, 2009 at 11:53 PM, Ferenc Kovacs <i...@tyrael.hu> wrote: > > On Mon, Oct 12, 2009 at 10:51 PM, Mark Krenz <m...@suso.org> wrote: > >> On Mon, Oct 12, 2009 at 07:22:10PM GMT, Robert Cummings [ > rob...@interjinn.com] said the following: > >>> > >>> You are obviously right of course... the PHP world is NOT ready for the > >>> POSIX regex library to be dropped. That's why it's "deprecated" in PHP > >>> 5.3 and not removed. In a year or 3, when PHP 6 is released, one would > >>> hope that by then the PHP world WILL be ready. > >>> > >> > >> One would hope, but I've seen otherwise over the past 10 or 11 years > >> of administrating PHP. > >> > > You are just the one in seven billion. > >> Often times the latest supported versions of operating systems do not > >> contain a version of PHP that is recent or supported even. And > >> typically people will run a server for around 3-5 years so they end up > >> having a version of PHP that is way behind. PHP Developers may wonder > >> about this but it is completely acceptable and expected from a sysadmin > >> point of view. I know that I never feel like I'm on a supported > >> version of PHP, even though I'll use a recent OS version. > > Major versions can and will break backward compatibility. > > If your code does not ready for php6, then you have 3-10 years to port > > it to the php6. > > If you dont want to, then its fine, you dont have to. > >> > >> So what happens is if its timed right, many people will never be > >> running PHP 5.3 and will end up straight on PHP 6. > >> > > Why would somebody skip php 5.3 when porting the applications from 5.2 > > is easy, then switch to php6 to its release day? > >> I used the term overnight before and I think that confused people. > >> What I mean is overnight in terms of version numbers. For instance, > >> overnight would be like one patch level or even minor version to the > >> next. > >> > >> When a function is deprecated, I expect to see the warning for quite a > >> while before its actually removed. So if it just happens "overnight" > >> thats not acceptable, no matter how much time has passed. Its more > >> about version numbers than time. > >> > > If -at least- 3 years of warning is overnight for you, than I think > > I'm lucky to catch you awake. > >> > >> -- > >> Mark S. Krenz > >> IT Director > >> Suso Technology Services, Inc. > >> http://suso.org/ > >> > >> -- > >> PHP Internals - PHP Runtime Development Mailing List > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > > > > I don't like the way that you say you are representing "the whole > > internet", it would be better if we can go for the one person one vote > > rule. > > > > Sorry for my english, I'm not a native speaker, and it's getting late. > > > > Tyrael > > > > btw. I hate php 5.3 for the following change: > # The use of {} to access string offsets is deprecated. Use [] instead. > I always used the {} because the [] was deprecated for a long time, > and I corrected everybody, to use the {}, and in one release, the [] > gets undeprecated, and the {} to deprecated. > Shame on you people, but I think I have to live with it. :) > > Tyrael > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >