There is a website on wordpress latest version with php7 on hosting with a minimized style_dynamic.php file in the subject. In the original version in the console I have an error 500 from the server - in the logs this is what:
PHP Parse error: syntax error, unexpected '$ root' (T_VARIABLE) in
I add a space to the line - the error disappears
<?php$root... now burning
PHP Parse error: syntax error, unexpected '{' in
I don’t know how to eliminate this, then if I convert to the full view with the help of the service and add to the project, the error disappears. Where is the minification error and what is the reason for it and why does the new hard php7 requirements php7 ?