note 12243 deleted from function.strlen by danbrown
| From: | danbrown@php.net | Date: | Thu, 12 Feb 2009 03:17:23 +0000 |
| Subject: | note 12243 deleted from function.strlen by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150542@lists.php.net to get a copy of this message | ||
Note Submitter: ben at _idataconnect dot com
----
I think another thing that people aren't understanding about this is that PHP doesn't use
pointers like C. The way you can treat string variables as arrays seems to be added for convenience.
Like someone posted earlier, you shouldn't rely on the language to hit an error and end the
loop. If you do things like that and someone changed the way PHP (or any language) worked with those
kind of errors, your program just might not work anymore.