Are there any best practices for naming functions in a PHP script, especially when creating a counter?

When naming functions in a PHP script, especially when creating a counter, it is important to use descriptive names that clearly indicate the purpose of the function. This helps improve code readability and maintainability. It is also a good practice to follow a consistent naming convention, such as using camelCase or snake_case. Additionally, make sure to avoid using reserved keywords or names that may conflict with existing PHP functions.

function incrementCounter($counter) {
    return $counter + 1;
}