|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
27 + 26 = ?
Subscribe to this entry?

 [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-2022 The PHP Group
All rights reserved.
Last updated: Sat Dec 03 13:03:50 2022 UTC