Re: Why is ereg being deprecated?
| From: | Robert Cummings | Date: | Tue, 13 Oct 2009 00:12:02 +0000 |
| Subject: | Re: Why is ereg being deprecated? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45799@lists.php.net to get a copy of this message | ||
Ferenc Kovacs wrote:
On Mon, Oct 12, 2009 at 11:53 PM, Ferenc Kovacs <info@tyrael.hu> wrote: 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. :)I hope you don't mind if I laugh at you and with you... I did exactly the same thing :) I remember about 5 years ago (or whenever it was) changing all my string offset code to use curly braces and then preaching the one true way *meh* :D Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP