Hi!

>> That's pretty messed-up right there. At least in the object cases there's
>> an E_WARNING "Creating default object from empty value" - with the array
>> case, nothing, it just converts your boolean into an array. Yiiiiikes.

This works only on "empty" values, btw - null, false and "". And it
doesn't really "convert" anything - no more than reassigning variable
converts anything - it just drops the "empty" value and replaces it with
an array.
-- 
Stas Malyshev
smalys...@gmail.com

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

Reply via email to