Skip to content

Glossary: PHP Basics

nullable

Also written: ?string

A type that also allows null, written with a leading `?`, so `?string` means a string or null.

Where the book teaches it

Related terms

nulltype declaration