Home >Backend Development >PHP Tutorial >javascript - Can't template constants be used in ?

javascript - Can't template constants be used in ?

WBOY
WBOYOriginal
2016-07-06 13:53:571249browse


The file path cannot first define a constant define('__STATICS__','./Application/Home /View/Statics/');
It seems that the constant cannot be parsed like this?

Reply content:


The file path cannot first define a constant define('__STATICS__','./Application/Home /View/Statics/');
It seems that the constant cannot be parsed like this?

can be written like this. You cannot parse the constant. There may be something wrong with what you wrote. Check if it is a problem with single quotes or double quotes. Single quotes cannot parse variables

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn