Bug #60063 [Opn->Bgs]: bug in ltrim
| From: | cataphract@php.net | Date: | Sat, 15 Oct 2011 14:05:30 +0000 |
| Subject: | Bug #60063 [Opn->Bgs]: bug in ltrim | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-164335@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60063&edit=1
ID: 60063
Updated by: cataphract@php.net
Reported by: paul at around25 dot com
Summary: bug in ltrim
-Status: Open
+Status: Bogus
Type: Bug
Package: *General Issues
Operating System: Windows7
PHP Version: 5.3SVN-2011-10-14 (SVN)
Block user comment: N
Private report: N
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Expected behavior.
Previous Comments:
------------------------------------------------------------------------
[2011-10-14 14:56:14] earlchaos at gmail dot com
ltrims second parameter is a list of chars.
http://de3.php.net/manual/en/function.ltrim.php
So as far as i can see, everyhing is fine here.
cheers, Frank
------------------------------------------------------------------------
[2011-10-14 13:13:51] paul at around25 dot com
Description:
------------
---
From manual page: http://www.php.net/function.ltrim#refsect1-function.ltrim-description
---
Test script:
---------------
echo ltrim('vlccballard', 'vlc');
Expected result:
----------------
I'm expecting: cballard
Actual result:
--------------
I get as result: ballard
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60063&edit=1