diff --git a/content/05-variables.md b/content/05-variables.md index 44531f8..79cf9e8 100644 --- a/content/05-variables.md +++ b/content/05-variables.md @@ -2,7 +2,7 @@ {% block body%} -Variables in PHP always have a dollar sign `$` at the start of their names, and you declare a variable by assigning a +Variables in PHP always have a dollar sign like `$` at the start of their names, and you declare a variable by assigning a value to it. PHP *interpolates* double-quoted strings with variables. Edit hello.php to use a variable: ```php @@ -105,4 +105,4 @@ $planetPopulations = [ echo "The population of Earth is {$planetPopulations['Earth']}.\n"; ``` -{% endblock %} \ No newline at end of file +{% endblock %}