php.net |  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
Hi,

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...

Deepak

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

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

deepak
 [2002-03-04 04:42 UTC] derick@php.net
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-2021 The PHP Group
All rights reserved.
Last updated: Sun Nov 28 06:03:16 2021 UTC