note 94348 deleted from function.substr by danbrown
| From: | danbrown@php.net | Date: | Thu, 29 Oct 2009 18:19:20 +0000 |
| Subject: | note 94348 deleted from function.substr by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-162261@lists.php.net to get a copy of this message | ||
Note Submitter: fabioferrero at gmail dot com
----
$foo= '10';
$r= substr($foo, -3);
return $r;
In php5.2.0 (debian etch) return '10', in php5.2.6 (debian lenny) return ''
Maybe the latter is the corrected one...