note 83662 deleted from function.ini-get by felipe

From: Date: Fri, 06 Jun 2008 11:15:36 +0000
Subject: note 83662 deleted from function.ini-get by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-140175@lists.php.net to get a copy of this message
Note Submitter: daniel dot egeberg at gmail dot com Reason: 5 ---- The following line in Example #1 should probably be changed from: $last = strtolower($val{strlen($val)-1}); to: $last = strtolower($val[strlen($val)-1]); seeing as the former syntax will be deprecated as of PHP6 (cf. http://php.net/string#language.types.string.substr).

« previous php.notes (#140175) next »