Re: html_options

messju mohr <[email protected]> Mon, 26 Feb 2007 14:19:48 +0100
Newsgroups gmane.comp.php.smarty.devel
Message-ID <[email protected]>
On Mon, Feb 26, 2007 at 01:44:58PM +0100, Danilo Buerger wrote:
[...]
> From http://de2.php.net/manual/en/language.types.array.php:
> "Using TRUE as a key will evaluate to integer  1 as key. Using FALSE as 
> a key will evaluate to integer 0 as key."
> This clearly allows the use of boolean values as array keys.

No it doesn't. It clearly says that it casts (and thus breaks) the keys.

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php