Edit report at https://bugs.php.net/bug.php?id=60063&edit=1

 ID:                 60063
 Comment by:         earlchaos at gmail dot com
 Reported by:        paul at around25 dot com
 Summary:            bug in ltrim
 Status:             Open
 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:

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


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to