SyntaxStudy
Sign Up
Home PHP Exercises PHP Variables

PHP Variables

Beginner

Complete the PHP variable syntax and rules.

PHP variables start with a sign.

PHP strings can use double quotes "..." or (single quotes).

String concatenation in PHP uses the operator.

To embed a variable inside a double-quoted string: "Hello $".

PHP is a typed language — variables don't need a declared type.