|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-04-09 10:20 UTC] pmmaga@php.net
-Status: Open
+Status: Not a bug
[2018-04-09 10:20 UTC] pmmaga@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 21:00:01 2025 UTC |
Description: ------------ ltrim removes one extra char but only one some chars Test script: --------------- <?php echo ltrim('http://pexample.com','http://'); echo "\r\n"; echo ltrim('http://aexample.com','http://'); Expected result: ---------------- pexample.com aexample.com Actual result: -------------- example.com aexample.com