ID: 12521
Updated by: jeroen
Old Status: Assigned
Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux RH 7.1
PHP Version: 4.0.4pl1
Assigned To: jeroen
New Comment:

In CVS, will probably be in PHP 4.0.7

It uses the addclashes way of specifying what to chop, as second parameter.

Previous Comments:

[2001-08-01 16:40:49] [EMAIL PROTECTED]

Good idea. The second parameter should IMO be a string containing all characters to be 
chopped, or like addcslashes.

Assigning to myself, if anyone has any objections/remarks, please mail me. I think the 
c-slashes way is the best.


[2001-08-01 16:31:53] [EMAIL PROTECTED]

it would be useful if the chop() and trim() functions accepted an optional second 
parameter indicating what to chop or trim, instead of simply assuming one wants to 
remove whitespace.  In Perl the $/ varialbe controls what is chopped, but a parameter 
would be nicer!


Edit this bug report at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to