PHP Lab2 project. Using various functions in PHP