I'm using PHP 7.0.13, so it doesn't look like things have changed since the book was published (unless there's some new setting you can change). Of course, my real question is why this code causes a parse error. It's not at all obvious to me what the problem is (and it's not explained in the book).
>>With your example, that's a fair use, too, although you want to do this, I'm pretty sure:
echo "He drank some juice made of {$juice}s."
Indeed. The example is taken right from the PHP online manual, and if you take another look at the example code (the "Valid" example), that's exactly what they did.