[Php-it] sostiuire un carattere

Tassoman (mailing) ml at tassoman.com
Mon Nov 27 10:49:52 CET 2006


Il giorno dom, 26/11/2006 alle 17.07 +0100, Matteo Beccati ha scritto:

> String access and modification by character
> 
> Characters within strings may be accessed and modified by specifying the 
> zero-based offset of the desired character after the string using square 
> array-brackets like $str[42] so think of a string as an array of characters.

E come si capisce quando intendo un array o una posizione?
Esclusivamente se è settato l'array con lo stesso nome?

Se ho $var[1] = 'value'; e cerco $var[1] ?

Mi sembra di tornare a quei comportamenti esotici strani per cui tanto
sbeffeggiano php... -_-' 

;|

-- 
Blogging humanum est, Tassoman ovest.
http://blog.tassoman.com



More information about the Php-it mailing list