|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-08-27 18:25 UTC] bjori@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 28 11:00:02 2025 UTC |
Description: ------------ Substr function does not work correctly, see reproduce code: Reproduce code: --------------- <?php echo substr('00001',-1,4); ?> Expected result: ---------------- Print: 0001 Actual result: -------------- Print: 1