|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7604 Malfunction of REGEX Functions
Submitted: 2000-11-02 18:20 UTC Modified: 2002-06-16 08:23 UTC
From: acmad_moti at hotmail dot com Assigned:
Status: Not a bug Package: Oracle related
PHP Version: 3.0.16 OS: RedHat 6.2
Private report: No CVE-ID: None
 [2000-11-02 18:20 UTC] acmad_moti at hotmail dot com

I hope it's only our team that's experiencing this.

We've migrated data and scripts from MySql to Oracle 8.1.6 successfully. That is, the new scripts are working, but are terribly slow. 

So far, we've isolated the cause of the problem... it's the set of functions under REGEX component once you compile PHP3 with Oracle support. Specifically in our scripts, it's the 'eregi' calls that slow down the processing time. (6 to 7 times slower compared when running the scripts with MySql support.)

For those interested, I could send you scripts that only contain function calls under REGEX. No database calls whatsoever.

If in case you have a site that has PHP3 and Oracle 8i, hope I could borrow your .SO or .DSO with Oracle support.

For those who were able to solve this problem, please help! We don't want to waste our time removing all REGEX function calls.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 08:23 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

(in PHP4, the Perl compatible regexes are much faster than the 'normal' regexes)
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 23 08:01:28 2024 UTC