|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-11-09 09:57 UTC] svn@php.net
[2009-11-09 09:57 UTC] rquadling@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Jun 16 07:00:01 2026 UTC |
Description: ------------ A quick look over the "return value" box suggests that this function always returns a string. This is not the case as mentioned in the "start" parameter box. Give a hint in the "return value" box about this behaviour. Reproduce code: --------------- --- From manual page: function.substr#Return Values --- var_dump(substr('a', 1)); Expected result: ---------------- Expected description: Returns the extracted part of string or FALSE in case of an error. Actual result: -------------- -/-