Assignment Part 8

Functions is a block of code that is defined by parameters and are called to perform specific tasks in a more efficent way


Descripiton of Functions:

User-defined functions are functions that are named and defined by a list of parameters

Built-in functions are provided by the PHP language and perform already set tasks for the user such as strlen()

Functions are called by their names and can accept arguments that can be configured by the users needs

Functions allow for code reusability, making it easier to manage and maintain


Function Examples:

Length of string is: 12
Hello, Joey
Hello, Timmy