note 79672 deleted from function.substr by tularis
| From: | tularis@php.net | Date: | Mon, 31 Dec 2007 10:45:46 +0000 |
| Subject: | note 79672 deleted from function.substr by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134603@lists.php.net to get a copy of this message | ||
Note Submitter: mariofreak at gmail dot com
----
RE: Robert Chapin.
The square brackets you speak of are only if you're assigning a value to an array or string.
For example, $foo{'bar'} is depreciated, but the way that they recommend is using
$foo['bar']. At least thats how I see it.