Summary of common PHP system Constants

Source: Internet
Author: User

Some common PHP system constants are as follows:

_ FILE _ current php file name

_ LINE _ number of rows in the current PHP File

_ FUNCTION _ the currently executed FUNCTION

_ CLASS _ the CLASS currently executed

PHP version

Operating System of the current PHP_ OS Server

TRUE is the same as true.

FALSE or false

E_ERROR to the nearest Error

E_WARNING to the nearest warning area

Error in E_PARSE syntax

E_NOTICE PHP language exception

MPI circumference Rate

M__E scientific constant e

M1_log2e base on 2 logarithm of e

M_LOG10E base-10 logarithm of e

Natural logarithm of M_LN2 2

Natural logarithm of M_LN10 10

The PHP system constant content is introduced here, and I hope it will be helpful to you.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.