Req #51103 [Opn->Sus]: a warning should be displayed if there is a pcre error

From: Date: Tue, 29 Aug 2017 14:09:00 +0000
Subject: Req #51103 [Opn->Sus]: a warning should be displayed if there is a pcre error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210869@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=51103&edit=1 ID: 51103 Updated by: cmb@php.net Reported by: henrik dot gebauer at web dot de Summary: a warning should be displayed if there is a pcre error -Status: Open +Status: Suspended Type: Feature/Change Request Package: PCRE related Operating System: Irrelevant PHP Version: 5.2.12 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2017-08-29 13:54:48] cmb@php.net Related To: Bug #75133 ------------------------------------------------------------------------ [2016-07-21 11:34:40] cmb@php.net Related To: Bug #49339 ------------------------------------------------------------------------ [2016-07-20 23:36:04] cmb@php.net Related To: Bug #53685 ------------------------------------------------------------------------ [2010-12-22 20:15:06] 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. ------------------------------------------------------------------------ [2010-02-21 00:53:25] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=51103&edit=1

« previous php.bugs (#210869) next »