Does anyone you know why PHP is dumping the ereg() command in 6.0 and do they know how much work it will be for people to change code?
Example: ereg($my_pattern, $xxx, $yyy) must be changed to preg_match("/" . $my_pattern. "/", $xxx, $yyy).
You have to surround the pattern with a delimiter ("/").
What in the world are the PHP people thinking? Why can't they keep ereg and come up with a better expression function that people can use if they want? It makes no sense about what they are doing in PHP 6.0.... unless I'm missing something.
I have a large application/web-service we sell on a subscription basis (http://www.jaya123.com) ... which is a small-biz billing/order-entry/reporting system with several hundred thousand lines of code (most I wrote)... with a lot of "ereg" pattern matching functions. It will take weeks of work. Thank you, PHP developers!
Maybe someone will write a utility to help us make the changes... or maybe someone will write the equivalent of the current ereg() functions (as well as the split() function.
(I assume everyone knows by now to change the php.ini file's "error_reporting" entry so as to not see the "deprecated" messages that will pop up in PHP 5.3 (which the latest build of XAMPP has.)