Re: 'odd' handling of $moo['bar'] where $moo is a string
| From: | Ian P. Christian | Date: | Thu, 09 Feb 2006 22:43:56 +0000 |
| Subject: | Re: 'odd' handling of $moo['bar'] where $moo is a string | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21833@lists.php.net to get a copy of this message | ||
On Thursday 09 February 2006 22:28, Robert Cummings wrote:
> PHP is primarily a web language. Many indexes are pulled from $_GET and
> $_POST and for obvious reasons are strings. One of the convenience
> factors of PHP is that noobs don't need to think about casting their
> strings to ints to index.
Yeah ok, good point.
The strenghts of PHP sometimes bite you in the arse ;)
Thanks for your replies people.
--
Ian P. Christian
http://pookey.co.uk