Bug #15853 Updated: Problem with Chop function :: Apache/PHP crashes with Dr. Watson error

From: Date: Mon, 04 Mar 2002 09:42:54 +0000
Subject: Bug #15853 Updated: Problem with Chop function :: Apache/PHP crashes with Dr. Watson error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1602@lists.php.net to get a copy of this message
ID: 15853 Updated by: derick@php.net Reported By: deepak@cssolutionsinc.com -Status: Open +Status: Feedback Bug Type: Strings related Operating System: Windows NT Service Pack 6 PHP Version: 4.1.1 New Comment: Can you post a reproducing script? Previous Comments: ------------------------------------------------------------------------ [2002-03-04 03:04:46] deepak@cssolutionsinc.com Hi, The problem is bit vagarious and sometimes is not reproducible too. deepak ------------------------------------------------------------------------ [2002-03-04 03:01:12] deepak@cssolutionsinc.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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15853&edit=1

« previous php.bugs (#1602) next »