php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #51103 a warning should be displayed if there is a pcre error
Submitted: 2010-02-21 00:53 UTC Modified: 2017-08-29 14:08 UTC
Votes:4
Avg. Score:4.8 ± 0.4
Reproduced:4 of 4 (100.0%)
Same Version:2 (50.0%)
Same OS:3 (75.0%)
From: henrik dot gebauer at web dot de Assigned:
Status: Suspended Package: PCRE related
PHP Version: 5.2.12 OS: Irrelevant
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.
Password:
Status:
Package:
Bug Type:
Summary:
From: henrik dot gebauer at web dot de
New email:
PHP Version: OS:

 

 [2010-02-21 00:53 UTC] henrik dot gebauer at web dot de
Description:
------------
PHP should display a warning if there is a PCRE error, that is if preg_last_error() != PREG_NO_ERROR.
This would make it easier to find bugs.


Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-09 20:51 UTC] jani@php.net
-Package: Feature/Change Request +Package: PCRE related
 [2010-12-22 20:15 UTC] yehuda+php at ymkatz dot net
Yes, I spent twenty minutes troubleshooting a script that ran fine on one machine 
but returned no results on another machine.
Eventually, I found that pcre.recursion_limit was set to 1, but with a warning 
that there was an error, I would have found it right way.
 [2017-08-29 14:08 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2017-08-29 14:08 UTC] cmb@php.net
Thank you for your interest in PHP and for submitting a feature
request. Please be aware that due to the magnitude of change this
request requires, it would be necessary to discuss it on PHP
Internals list (internals@lists.php.net) as an RFC. Please read
the guide about creating RFCs here:
<https://wiki.php.net/rfc/howto>. If you haven't had experience
with writing RFCs before, it is advised to seek guidance on the
Internals list (<http://php.net/mailing-lists.php>) and/or solicit
help from one of the experienced developers. 

Please do not consider this comment as a negative view on the
merits of your proposal – every proposal which requires changes of
certain magnitude, even the very successful and widely supported
ones, must be done through the RFC process. This helps make the
process predictable, transparent and accessible to all developers.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Sep 29 00:01:23 2020 UTC