Skip to content

Glossary: PHP Basics

function

Also written: functions

A named block of code you write once and run whenever you need it. `return` gives back its result.

Where the book teaches it

Related terms

parameterargumentreturn value