Is the following syntax LEGAL in php 5.1+ ?
echo $x.' ';
Note, we don't ask works this code or not, it works.
Note, we need some prove like reference to documentation, or to cow path in solid php packages.
"Cow path" by definition is a practice of multiple programmers which is impossible to neglect by language developers.
Here is the reason why this question.
We are working with application which requires to write code in templates.
Templates are php files, but they can be parts of some unknown code, so perhaps code inside of function body or class body.
We need to isolate our local variables in "inside" function.
We are running php 5.1 and higher.