php跨平台小结 常用预定义常量

WBOY
Release: 2016-06-13 13:02:11
Original
905 people have browsed it

php跨平台总结 常用预定义常量

?

 ?
Copy after login

if?(strtoupper(substr(PHP_OS,?0,?3))?===?'WIN')?{???得到操作系统类型

DEFAULT_INCLUDE_PATH? 得到php.ini中配置的include_path

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!