Home >Backend Development >PHP Tutorial >PHP commonly used built-in functions, php built-in_PHP tutorial

PHP commonly used built-in functions, php built-in_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 09:56:51958browse

PHP commonly used built-in functions, php built-in

$_SERVER['SCRIPT_NAME'] returns /mantis/test.php relative path

__FILE__ returns the absolute path of the file

$_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()

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/985690.htmlTechArticlePHP commonly used built-in functions, php built-in $_SERVER['SCRIPT_NAME'] returns /mantis/test.php relative path_ _FILE__ returns the absolute path of the file $_SERVER['HTTP_X_FORWARDED_PROTO'] $_SERVER['HTTPS...
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