note 80785 added to migration52.incompatible

From: Date: Thu, 31 Jan 2008 16:04:50 +0000
Subject: note 80785 added to migration52.incompatible
Groups: php.notes 
Request: Send a blank email to php-notes+get-135659@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>"; PHP5.1.x: Result1: 345 Result2: 12345 PHP5.2.x Result1: 345 Result2: <Empty> ---- Server IP: 217.160.72.57 Probable Submitter: 84.57.242.171 ---- Manual Page -- http://www.php.net/manual/en/migration52.incompatible.php Edit -- https://master.php.net/note/edit/80785 Del: integrated -- https://master.php.net/note/delete/80785/integrated Del: useless -- https://master.php.net/note/delete/80785/useless Del: bad code -- https://master.php.net/note/delete/80785/bad+code Del: spam -- https://master.php.net/note/delete/80785/spam Del: non-english -- https://master.php.net/note/delete/80785/non-english Del: in docs -- https://master.php.net/note/delete/80785/in+docs Del: other reasons-- https://master.php.net/note/delete/80785 Reject -- https://master.php.net/note/reject/80785 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#135659) next »