Skip to content

Glossary: PHP Basics

placeholder

Also written: placeholders, named placeholder

A marker that is filled in later. In `printf`, the `%` codes such as `%s` are placeholders; in prepared SQL, `?` or a name like `:max` is filled when you call `execute()`.

Where the book teaches it

Related terms

prepared statementprintf() / sprintf()