Bug #2182: Regular expression code dumps debugging information to stderr

From: Date: Sat, 28 Aug 1999 23:46:38 +0000
Subject: Bug #2182: Regular expression code dumps debugging information to stderr
Groups: php.dev 
Request: Send a blank email to php-dev+get-10314@lists.php.net to get a copy of this message
From: mlemos@acm.org Operating system: Linux RH 5.2 PHP version: 3.0 Latest CVS (28/08/1999) PHP Bug Type: Misbehaving function Bug description: Regular expression code dumps debugging information to stderr Regular expression code is dumping debugging information to stderr like Regex ^[A-Z][A-Z0-9_]*$ This not only floods the server errors logs needlessly but also disturbs the output of php that once run as standalone from cron scripts make the script halt because of non-error. Redirecting stderr to /dev/null is not a solution because it is desirrable to stop cron scripts if there was some output due to real errors unlike this situation. Ths solution to this problem consists of removing line 197 of file functions/reg.c that seem to have been forgotten. fprintf(stderr,"Regex %s\n",regex->value.str.val);

« previous php.dev (#10314) next »