Re: Hash syntaxes? simple but helpful
| From: | Alexander Gr�f | Date: | Tue, 20 Mar 2001 11:07:37 +0000 |
| Subject: | Re: Hash syntaxes? simple but helpful | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44716@lists.php.net to get a copy of this message | ||
$xy=array("a"=>"orange","b"=>"banana","c"=>"fruit");
--
alex@alex-connect.com
+49 9721 188848
+49 171 370 97 15
""Costas"" <costas@othermedia.com> schrieb im Newsbeitrag
news:997b0s$3cl$1@toye.p.sourceforge.net...
> I am used to perl syntax of:
>
> $var->{'abc'} for a hash (associative array)
>
> Can this syntax be done for PHP.
>
> What other syntax is there for PHP hashes? Any that look like this?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>