Edit report at https://bugs.php.net/bug.php?id=60063&edit=1
ID: 60063 Updated by: cataphr...@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