Lukas Kahwe Smith wrote:
Some additional links to get started:
http://cvs.php.net/viewvc.cgi/php-src/NEWS?view=markup&pathrev=PHP_5_3
http://cvs.php.net/viewvc.cgi/php-src/UPGRADING?revision=PHP_5_3
While I know that ...
- All ereg functions are deprecated and emit E_DEPRECATED errors.
Use PCRE (preg_*()) instead.
... is accurate, I think a little more detail would help here, since
many of us probably did not know that 'split' was an ereg function - for
instance?
I THINK that split() maps to explode() without needing any mapping of
the parameters?
But ereg_replace to preg_replace is not quite so easy? and when looking
to convert someone else's legacy code, trying to understand some
mappings can be a problem. Does anybody have a useful reference that
would help in converting from one to the other?
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php