首頁  >  文章  >  後端開發  >  PHP常用内置函数,php内置_PHP教程

PHP常用内置函数,php内置_PHP教程

WBOY
WBOY原創
2016-07-13 09:56:51923瀏覽

PHP常用内置函数,php内置

$_SERVER['SCRIPT_NAME'] 返回/mantis/test.php 相对路径

__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常用内置函数,php内置 $_SERVER['SCRIPT_NAME'] 返回/mantis/test.php 相对路径 __FILE__返回文件的绝对路径 $_SERVER['HTTP_X_FORWARDED_PROTO'] $_SERVER['HTTPS...
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn