note 80783 added to migration5.incompatible
| From: | Tachy at osu1 dot php dot net | Date: | Thu, 31 Jan 2008 15:43:52 +0000 |
| Subject: | note 80783 added to migration5.incompatible | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135657@lists.php.net to get a copy of this message | ||
$string="12345";
$rightstring1=substr($string,-3);
$rightstring2=substr($string,-8);
echo "Result1: ".$rightstring1."<BR>";
echo "Result2: ".$rightstring2."<BR>";
PHP4:
Result1: 345
Result2: 12345
PHP5:
Result1: 345
Result2: <empty>
!!
----
Server IP: 217.160.72.57
Probable Submitter: 84.57.242.171
----
Manual Page -- http://www.php.net/manual/en/migration5.incompatible.php
Edit -- https://master.php.net/note/edit/80783
Del: integrated -- https://master.php.net/note/delete/80783/integrated
Del: useless -- https://master.php.net/note/delete/80783/useless
Del: bad code -- https://master.php.net/note/delete/80783/bad+code
Del: spam -- https://master.php.net/note/delete/80783/spam
Del: non-english -- https://master.php.net/note/delete/80783/non-english
Del: in docs -- https://master.php.net/note/delete/80783/in+docs
Del: other reasons-- https://master.php.net/note/delete/80783
Reject -- https://master.php.net/note/reject/80783
Search -- https://master.php.net/manage/user-notes.php