>  기사  >  php教程  >  PHP常用内置函数,php内置

PHP常用内置函数,php内置

WBOY
WBOY원래의
2016-06-13 09:06:351237검색

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

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.