Functions

Built in functions

The phrase "I love you!" contains 11 characters.

Today's date is: 11-04-2026

User Defined Functions

Hi, Mrs A!!

Explanation:

A function is a block of statements that can be used repeatedly in a program, you call it by name, give it input if needed, and it can return a result. Built in functions already come with PHP, like strlen(). User defined functions are ones you write yourself with the function keyword for your own custom tasks.