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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: deepak at cssolutionsinc dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC