PHP Code standared and Nameing convention
Registered by
Christopher Pax
/*
my_function($para1, $para2)
$para1: string. string of something.
$para2: integer. number of something.
This function does some stuff, and other stuff.
Return: A string of something else.
*/
function my_function($para1, $para2){
global $external_
# global variable should be declared at the top
# a comment starts with a pound.
#variable with two word, are separated by a underscore
$my_var = "value of my var";
## coment section##
# comments with more then one line, can use this format
# or you can use /**/
###
}
Blueprint information
- Status:
- Not started
- Approver:
- Christopher Pax
- Priority:
- Undefined
- Drafter:
- Christopher Pax
- Direction:
- Needs approval
- Assignee:
- Christopher Pax
- Definition:
- Drafting
- Series goal:
- None
- Implementation:
- Informational
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
$hello
(?)