Array Symbol Suggestion
| From: | sono-io at fannullone dot us | Date: | Wed, 12 Jan 2011 19:45:04 +0000 |
| Subject: | Array Symbol Suggestion | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-310703@lists.php.net to get a copy of this message | ||
I'd like to make a suggestion for a change, or possibly an addition, to the PHP language.
I'm learning PHP and have been very excited with what it can do in relation to HTML. But when
I got to the part about arrays, I was disappointed to see that they are designated with a $ the same
as other variables. I was learning Perl before I switched, and it uses the @ sign to designate an
array. That makes it a lot simpler to see at a glance what is an array and what isn't - at
least for beginners like me.
Has there been any talk of adopting the @ sign for arrays in PHP? Or is that symbol used for
something else that I haven't read about yet?
What is the proper channel for making suggestions like this?
Thanks,
Marc