|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-05-13 21:38 UTC] sas at cvs dot php dot net
[1999-09-03 12:56 UTC] rasmus at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 15 20:00:01 2025 UTC |
I compiled php3 as Apache module for apache-3.1.6 with apxs. The following code segment from HORDE crashes the apache process executing the code each time: function set_env_in_string($text) { /* skip any comment lines */ if(ereg("([^#]*)#.*", $text, $regs)) { ... } } I found that this is beause $regs is undefined. If you initialize with $regs =""; all works fine. Any ideas? J"org