Hi!

I think this is by design, sort of a "undocumented feature".
I had this problem as well when I first encountered it and since than
I remembered to always use the second level to store arrays.

    gabriel

On Jun 14, 11:43 am, Tom Ptacnik <to...@tomor.cz> wrote:
> Do someone know why first solution produce bad array and second will
> produce good array?
> I'm talking abou settings in app.yml
>
> 1)
> all:
>   frontend_cultures: [cs, en]
>
> will produce (cache/app/dev/app.yml.php):
>
> 'app_frontend_cultures_0' => 'cs',
> 'app_frontend_cultures_1' => 'en',
>
> 2)
> all:
>   frontend:
>     cultures: [cs, en]
>
>  'app_frontend_cultures' => array (
>   0 => 'cs',
>   1 => 'en',
> ),

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to