Archive for January, 2010

zFeeder – Making PHP 5.3 + compatible, solving ‘Function ereg_replace() is deprecated’

The latest zFeeder 1.6 uses couple PHP functions – ereg_replace and set_magic_quotes_runtime, which are deprecated in PHP starting from version 5.3. These function will no more be supported from PHP 6.0 onward.

How to solve “Deprecated: Function ereg_replace() is deprecated” problem?
Use preg_replace, which uses perl regular experssion, instead of ereg_replace.
There are two occurrences of ereg_replace [...]

Thursday, January 14th, 2010