Is it possible to modify a string in one place using an indexing operator
and an assignment statement?
E.g.:
$s = "1234567890";
$s[5] = "d"; // $s is now "12345d7890"
According to _PHP Bible_ (2nd ed., p.175), this kind of syntax can work ,
but is undocumented and, moreover, appears to be discouraged because "almost
all PHP string manipulation functions return modified copies of their string
arguments rather than making direct changes, which seems to indicate that
this is the style that the PHP designers prefer."
I did a google search (both www and USENET) and found nothing on this.