note 74778 deleted from function.substr by nlopess
| From: | nlopess@php.net | Date: | Tue, 01 May 2007 13:44:12 +0000 |
| Subject: | note 74778 deleted from function.substr by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-126054@lists.php.net to get a copy of this message | ||
Note Submitter: dummy-mail-1 at kakaobart dot de
----
In answer to legolas558 d0t users dot sf dot net
He might have put an april fool here. his post is in many cases wrong.
His example would neither return false or and empty string, because the substring number argument is
shorter than the whole string.
the correct return is (php 5.2.x)
<?php
string(1) "r"
?>
Better delete his post.