Home > Backend Development > PHP Tutorial > php学习之旅3

php学习之旅3

WBOY
Release: 2016-06-23 14:32:41
Original
854 people have browsed it

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

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template