Ticket #1279 (new enhancement)

Opened 5 years ago

Replace ereg* functions with preg* in php code

Reported by: guest Owned by:
Priority: normal Milestone: Version 1.0
Component: Plugins Version: trunk
Severity: normal Keywords: php ereg preg
Cc:

Description

Because the ereg extension of PHP will be moved to PECL in PHP 6, I think it is wise to replace the ereg* functions with preg* equivalents in the PHP code of some plugins.

ereg* functions are used in the following plugins (and files).

ImageManager: Classes/NetPBM.php , Classes/Transform.php

SpellChecker: spell-check-logic.php

SuperClean: tidy.php

See also: http://www.php.net/~derick/meeting-notes.html#move-ereg-to-pecl and http://bitfilm.net/2007/12/09/unofficial-php-6-changelog/

I am using version 0.95 of Xinha.

Note: See TracTickets for help on using tickets.