php学习之旅3

WBOY
WBOYOriginal
2016-06-23 14:32:41846browse

php中的预定义常量可以获取php中间的信息。具体的预定义常量可以在php手册中进行查看的说,现在要做的是做一个实例来完成这些预定义常量的使用。接下来是常用的预定义常量的使用代码: 当前的行数".__LINE__; echo "
php当前版本:".PHP_VERSION; echo "
当前操作系统:".PHP_OS; ?>

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
Previous article:Nginx + fastcgi 处理phpNext article:php checkbox 复选框