Give variables descriptive names, such as $first_name
or $homework_score.
Avoid single-letter variable names like $xor c,
except for loop variables like $i.
Letter-Casing and Special Characters
Name variables and functions in lowercase, with underscores to separate words, such as $ostrich_count or compute_student_grade. Constants should be defined in all uppercase $LIKE_THIS.