re: Mastering PHP: How many ways can you string a sentence together? VIEW POST


Hi Peter.

Thanks for this.

I mostly use HEREDOC for SQL or to inject language in the PHP (JavaScript is good example). The great thing about it is that when you use delimiter SQL in PhpStorm it will turn on SQL Color Schema and code completion. The same goes with JavaScript by JS delimiter 🙂

Code of Conduct Report abuse