Glossary: PHP Basics
Also written: ?string
A type that also allows null, written with a leading `?`, so `?string` means a string or null.
nulltype declaration