On 11/24/2011 02:03 PM, Larry Garfield wrote:
> Generally $foo, bar, and baz will all be arrays, and if they're not it
> means someone else had a bug somewhere.  Of course, Drupal module
> developers never have bugs in their code that accidentally puts a string
> where they should have put an array, no, not at all. :-)  (Generally
> when that happens we already hit a "first argument to foreach() must be
> an array" error.)
> 
> Currently we don't use ArrayAccess anywhere aside from inheriting it
> from PDO.
> 
> If that doesn't change, then I rescind my previous panic attack.

Yes, no change in any of that. In your usage, the case that behaves
differently in 5.4 was actually a fatal error in 5.3, so chances are
pretty good you don't have too many of these.

-Rasmus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to