Open nickstrlnkv opened 1 year ago
See #2000 which fixes this.
Maybe should add .<?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.".PHP_EOL; ?>
to this line. Not to be misleading, or am I wrong?
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."; ?>