PHP common built-in functions, php built-in _ PHP Tutorial

Source: Internet
Author: User
PHP built-in functions. Common built-in functions in PHP. The $ _ SERVER [SCRIPT_NAME] Built-in php returns mantistest. php relative path _ FILE _ absolute path of the returned FILE $ _ SERVER [HTTP_X_FORWARDED_PROTO] $ _ SERVER [Common built-in functions of https php, built-in functions of php

$ _ SERVER ['script _ name'] returns the relative path of/mantis/test. php.

_ FILE _ returns the absolute path of the object

$ _ SERVER ['http _ X_FORWARDED_PROTO ']

$ _ SERVER ['https']

$ _ SERVER ['server _ port']

$ _ SERVER ['request _ url']

$ GLOBALS

Explode

Implode

$ _ SERVER ['server _ name']

$ _ SERVER ['http _ host']

$ _ SERVER ['server _ ADDR ']

Trim

Basename

Dirname

Krsort

Set_time_limit ()

Time ()

Is_string ()

Is_bool

Is_Inteter

Is_float

Strtotime

File_exists

Fopen ()

Feof ()

Fgets ()

Trim ()

Strlen ()

Str_replace

Isset

Strpo

$ _ SERVER ['server _ SOFEWARE ']

Realpath

DIRECTORY_SEPARATOR

PATH_SEPARATOR

Set_include_path

Get_include_path

Count ()

Substr ()

$ _ SERVER ['Local _ ADDR ']

$ _ SERVER ['remote _ ADDR ']

Array_pad

Memory_get_usage ()

Spl_atuoload_register

Strtolower ()

Preg_replace

Preg_match

Ceil ()

Floor ()

Round ()

Response $ _ SERVER ['script _ name'] returns/mantis/test. php relative path _ FILE _ absolute path of the returned FILE $ _ SERVER ['http _ X_FORWARDED_PROTO '] $ _ SERVER ['https...

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.