Hi,
this is not the same.
what is meant is this:

$thisIsAVariable = $option['this_is_an_option']

So the underscores shall be used for "special strings" used as
options/arguments/parameters

Does this clarify it a bit?
Fabian


On Thu, Dec 11, 2008 at 12:29 PM, Sam Ma <[EMAIL PROTECTED]> wrote:

> hi, all
>
> In Symfony 
> CodingStandards<http://trac.symfony-project.org/wiki/HowToContributeToSymfony#CodingStandards>,
> find this:
>
> Use camelCase, not underscores, for variable, function and method names:
>
>    - Good: function makeCoffee()
>    - Bad: function MakeCoffee()
>    - Bad: function make_coffee()
>    - An exception regarding the latter: use underscores for helper
>    functions name (only for symfony 1.0 stuff).
>
> Use underscores for option/argument/parameter names.
>
> This is a collision. sometimes a variable equal to argument, and a
> parameter the same as variable.
>
>
> Thanks,
>
> Sam Ma
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to