From:             [EMAIL PROTECTED]
Operating system: Windows NT Service Pack 6
PHP version:      4.1.1
PHP Bug Type:     Strings related
Bug description:  Problem with Chop function :: Apache/PHP crashes with Dr. Watson 
error

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 bug report at http://bugs.php.net/?id=15853&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15853&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15853&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15853&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15853&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15853&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15853&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15853&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15853&r=submittedtwice

Reply via email to