Skip to content

Glossary: PHP Basics

default value

Also written: default

A value a parameter gets when the caller leaves that argument out, written like `int $qty = 1`. Parameters with defaults go last.

Where the book teaches it

Related terms

parameternullable