Q:

php. should I create class for one static function

my question is about style of programming. I need to write one function, which calls other script from PHP. What is the best way to include such function into the project. Should I create class with one static method, or I should  just write it in a php file and include that file?

A:

A static in a class is a fancy way to write a function. Just write the function.

