ID: 28270 User updated by: leha2 at mail dot ru Reported By: leha2 at mail dot ru Status: Bogus Bug Type: Reproducible crash Operating System: Win32 (in my case WinXPPro+SP1) PHP Version: 4.3.6 New Comment:
The trouble is that I need a password to change the status of that bug to Open, so I simply can't reopen it. Another strange thing is that my comment to that bug (#16787) has been deleted somehow, so, looks like this report is the only place for this bug to be described ;). In any case, I can deal without error_log() in PHP, while it's your work to improve PHP and fix bugs. So, if you don't need my report - just delete it or ignore. That's it. Previous Comments: ------------------------------------------------------------------------ [2004-05-04 09:03:52] [EMAIL PROTECTED] Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. Reopen the old report, NEVER refile an existing bug please. ------------------------------------------------------------------------ [2004-05-04 07:30:22] leha2 at mail dot ru Description: ------------ This report is just a reminder about "Bug #16787 any call to error_log(...) crashes", that was posted to bugtrace two years ago. I've added a comment there with description of troubles I've encounter after migrating from PHP v.4.1.0 to 4.3.5, and then to 4.3.6. Quick URL for viewing that post is: http://bugs.php.net/bug.php?id=16787 Thanks for help in advance, LeXa2 Reproduce code: --------------- Here is a fragment of modified FastTemplate class, where the trouble was first encountered: function show_unknowns ($Line) { $unknown = array(); if (ereg("({[A-Z0-9_]+})",$Line,$unknown)) { $UnkVar = $unknown[0]; if(!(empty($UnkVar))) { this is the trouble line =====> @error_log("[FastTemplate] Warning: no value found for variable: $UnkVar ",0); } } } // end show_unknowns() Expected result: ---------------- just to log error as usual Actual result: -------------- PHP stalls and I have to kill it's process via Task Manager. After that I got 500 Internal Server Error (not surprising, really ;) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28270&edit=1
