Skip to content

Glossary: PHP Basics

assignment

Also written: =

Putting a value into a variable with `=`. Read `$price = 18;` as "price becomes 18"; it replaces any old value and is not a comparison.

Where the book teaches it

Related terms

variable=== (strict comparison)