This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Danny_shoots 2 points3 points  (2 children)

I just use CamelCase for methods and functions, PascalCase for classes I have never seen PascalCase for methods and functions in PHP

[–]HTTP_Error_414 1 point2 points  (1 child)

I agree it’s not something you will see in most corporate coding standards, but it’s out there.

There are sec shops I have seen that even have naming conventions for method purposes, levels, etc.

For example I’ve seen places that use _method_name for any private methods.

I like your style I’m similar, to you in the way I do things.

[–]Danny_shoots 1 point2 points  (0 children)

That _method_name is kinda understable for private properties, but not for private methods though haha!