|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22320 preg_match have BUG ???
Submitted: 2003-02-20 03:35 UTC Modified: 2003-02-20 04:47 UTC
From: php at frusti dot com Assigned:
Status: Not a bug Package: PCRE related
PHP Version: 4.3.0 OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: php at frusti dot com
New email:
PHP Version: OS:


 [2003-02-20 03:35 UTC] php at frusti dot com
!!! I have a urgence problem !!!

Please show this statements:

$sql = "UPDATE TFrusti SET entity='FAN', SYSFLD001='Test with Clob-Data Entity just for test!' WHERE SYSPID = 411";

my problem now is, if in the subject (here the value of the $sql) is the word "Entity" this expression deliver just a truncated match, but if the word "entity" ist in lower-case inside the $sql-Variable the expression deliver the correct matches!!!!

$matches[2] with lower-case "entity" shows following value: "entity='FAN', SYSFLD001='Test with Clob-Data Entity just for test!'"

$matches[2] with upper-case "Entity" shows this values:
entity='FAN', SYSFLD001='Test with Clob-Data"

Have anyone a answer or know this problems?

Thanks and best regards,
Frast Andreas


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-20 04:47 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

[WHERE.*|$] matches W or H or E or R or E or . or * or | or $,
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jan 18 04:11:03 2022 UTC