【问题】php是否支持条件编译
php新手,请问php支持
#if 0
#else
#endif
这种条件编译吗?我试了不行,想知道php有无响应语法支持这种
------解决方案--------------------
<br />#你指的是这个?<br />if(0){<br />...<br />}else{<br />...<br />}<br />
------解决方案--------------------不支持!
# 在 php 是注释符
你可以直接使用 if else 结构
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