|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15853 Problem with Chop function :: Apache/PHP crashes with Dr. Watson error
Submitted: 2002-03-04 03:01 UTC Modified: 2002-05-27 00:00 UTC
From: deepak at cssolutionsinc dot com Assigned:
Status: No Feedback Package: Strings related
PHP Version: 4.1.1 OS: Windows NT Service Pack 6
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-03-04 03:01 UTC] deepak at cssolutionsinc dot com

I am encountering this strange problem whilst using chop() function in PHP to trim some specified characters from the trailing part of the string. PHP Manual says that chop and rtrim are aliases of each other. 

But when I use chop() function, Apache crashes with a Dr. Watson Error message. My PHP is configured for a SAPI dll use with Apache as against CGI solution. 

When I reconfigured my Apache to use PHP as CGI, the error message was different. PHP crashes with a Dr. Watson Error (OleWnd...) and Apache reports a 500 Internal Server Error. 

I have read in some Perl book that chop is a function in Perl. I doubt whether to use chop function, any implementation of Perl is needed. 

Please help...



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-04 03:04 UTC] deepak at cssolutionsinc dot com

The problem is bit vagarious and sometimes is not reproducible too.

 [2002-03-04 04:42 UTC]
Can you post a reproducing script?
 [2002-05-27 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 21 11:01:30 2024 UTC