note 48368 added to ref.strings

From: Date: Tue, 21 Dec 2004 04:31:48 +0000
Subject: note 48368 added to ref.strings
Groups: php.notes 
Request: Send a blank email to php-notes+get-82110@lists.php.net to get a copy of this message
In response to hackajar <matt> yahoo <trot> com, No string-to-array function exists because it is not needed. If you reference a string with an offset like you do with an array, the character at that offset will be return. This is documented in section III.11's "Strings" article under the "String access and modification by character" heading. ---- Manual Page -- http://www.php.net/manual/en/ref.strings.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+48368 Delete -- http://master.php.net/manage/user-notes.php?action=delete+48368&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48368&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48368&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48368&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48368&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48368&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+48368&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#82110) next »