note 99091 added to function.substr

From: Date: Tue, 27 Jul 2010 08:36:39 +0000
Subject: note 99091 added to function.substr
Groups: php.notes 
Request: Send a blank email to php-notes+get-171161@lists.php.net to get a copy of this message
You go through three of the possibilities for length: 1. "If length is given and is positive," 2. "If length is given and is negative," 3. "If length is given and is 0, FALSE or NULL". You omitted to specify the behaviour "If length is not given". (We can guess, but the documentation should really make it explicit.) ---- Server IP: 213.229.106.14 Probable Submitter: 81.149.202.199 ---- Manual Page -- http://www.php.net/manual/en/function.substr.php Edit -- https://master.php.net/note/edit/99091 Del: integrated -- https://master.php.net/note/delete/99091/integrated Del: useless -- https://master.php.net/note/delete/99091/useless Del: bad code -- https://master.php.net/note/delete/99091/bad+code Del: spam -- https://master.php.net/note/delete/99091/spam Del: non-english -- https://master.php.net/note/delete/99091/non-english Del: in docs -- https://master.php.net/note/delete/99091/in+docs Del: other reasons-- https://master.php.net/note/delete/99091 Reject -- https://master.php.net/note/reject/99091 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#171161) next »