Re: Re: Question about character acces, [] vs {}

From: Date: Fri, 06 Sep 2002 19:46:34 +0000
Subject: Re: Re: Question about character acces, [] vs {}
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-115563@lists.php.net to get a copy of this message
nicos@php.net wrote: > > Where did you seen that it is depreciated? > http://www.php.net/manual/en/language.types.string.php [block quote begins] String access by character Characters within strings may be accessed by specifying the zero-based offset of the desired character after the string in curly braces. Note: For backwards compatibility, you can still use the array-braces. However, this syntax is deprecated as of PHP 4. [block quote ends] Cheers, Rob. -- .-----------------. | Robert Cummings | :-----------------`----------------------------. | Webdeployer - Chief PHP and Java Programmer | :----------------------------------------------: | Mail : mailto:robert.cummings@webmotion.com | | Phone : (613) 731-4046 x.109 | :----------------------------------------------: | Website : http://www.webmotion.com | | Fax : (613) 260-9545 | `----------------------------------------------'

« previous php.general (#115563) next »