Closed
Description
The example here is incorrect. Chapter "Simple syntax" When you use it, it gives an error
<?php $juice = "apple"; // Valid. Explicitly specify the end of the variable name by enclosing it in braces: echo "He drank some juice made of ${juice}s."; ?>
Without error should write:
<?php $juice = "apple"; // Valid. Explicitly specify the end of the variable name by enclosing it in braces: echo "He drank some juice made of {$juice}s."; ?>