Better PHP Documentation
opinionated
Open main menu
Get Started
Documentation
Community
Training
Better PHP Documentation
Close menu
Get Started
Documentation
Community
Training
Log in
切换语言:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
URLs
简介
处理 URL 字符串: 编码、解码和解析。
预定义常量
URL 函数
base64_decode
— 对使用 MIME base64 编码的数据进行解码
base64_encode
— 使用 MIME base64 对数据进行编码
get_headers
— 取得服务器响应 HTTP 请求所发送的所有标头
get_meta_tags
— 从一个文件中提取所有的 meta 标签 content 属性,返回一个数组
http_build_query
— 生成 URL-encode 之后的请求字符串
parse_url
— 解析 URL,返回其组成部分
rawurldecode
— 对已编码的 URL 字符串进行解码
rawurlencode
— 按照 RFC 3986 对 URL 进行编码
urldecode
— 解码已编码的 URL 字符串
urlencode
— 编码 URL 字符串
发现了问题?
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
0
pcntl_sigtimedwait
Waits for signals, with a timeout
0
similar_text
Calculate the similarity between two strings
0
boolval
Get the boolean value of a variable
0
curl_multi_close
Close a set of cURL handles
0
imap_body
Read the message body
0
mb_strpos
Find position of first occurrence of string in a string
0
pg_send_prepare
Sends a request to create a prepared statement with the given parameters, without waiting for completion
0
swoole_native_socket_bind
0
Arr::prependKeysWith
0
zend_version
Gets the version of the current Zend engine
^