Downloads
Documentation
Get Involved
Help
Search docs
PHP 8.4.2 Released!
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
新的全局常量 »
« 新的类、注解和 interface
PHP 手册
附录
从 PHP 8.3.x 移植到 PHP 8.4.x
切换语言:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
新函数
核心
request_parse_body()
BCMath
bcceil()
bcdivmod()
bcfloor()
bcround()
Date
DateTime::createFromTimestamp()
DateTime::getMicrosecond()
DateTime::setMicrosecond()
DateTimeImmutable::createFromTimestamp()
DateTimeImmutable::getMicrosecond()
DateTimeImmutable::setMicrosecond()
DOM
DOMNode::compareDocumentPosition()
DOMXPath::registerPhpFunctionNS()
DOMXPath::quote()
DOMNode::compareDocumentPosition()
Hash
HashContext::__debugInfo()
Intl
IntlDateFormatter::getIanaID()
intltz_get_iana_id()
IntlDateFormatter::parseToCalendar()
SpoofChecker::setAllowedChars()
grapheme_str_split()
MBString
mb_trim()
mb_ltrim()
mb_rtrim()
mb_ucfirst()
mb_lcfirst()
Opcache
opcache_jit_blacklist()
PCNTL
pcntl_getcpu()
pcntl_getcpuaffinity()
pcntl_getqos_class()
pcntl_setns()
pcntl_waitid()
PDO_PGSQL
Pdo\Pgsql::setNoticeCallback()
PGSQL
pg_change_password()
pg_jit()
pg_put_copy_data()
pg_put_copy_end()
pg_result_memory_size()
pg_set_chunked_rows_size()
pg_socket_poll()
Reflection
以下方法与新的延迟对象功能相关:
ReflectionClass::newLazyGhost()
ReflectionClass::newLazyProxy()
ReflectionClass::resetAsLazyGhost()
ReflectionClass::resetAsLazyProxy()
ReflectionClass::isUninitializedLazyObject()
ReflectionClass::initializeLazyObject()
ReflectionClass::markLazyObjectAsInitialized()
ReflectionClass::getLazyInitializer()
ReflectionProperty::skipLazyInitialization()
ReflectionProperty::setRawValueWithoutLazyInitialization()
ReflectionClassConstant::isDeprecated()
ReflectionGenerator::isClosed()
ReflectionProperty::isDynamic()
Sodium
sodium_crypto_aead_aegis128l_()
*
sodium_crypto_aead_aegis256l_()
*
SPL
SplObjectStorage::seek()
SOAP
SoapServer::__getLastResponse()
标准
http_get_last_response_headers()
http_clear_last_response_headers()
fpow()
array_all()
array_any()
array_find()
array_find_key()
Tidy
tidyNode::getNextSibling()
tidyNode::getPreviousSibling()
XMLReader
XMLReader::fromStream()
XMLReader::fromUri()
XMLReader::fromString()
XMLWriter
XMLWriter::toStream()
XMLWriter::toUri()
XMLWriter::toMemory()
XSL
XSLTProcessor::registerPhpFunctionNS()
发现了问题?
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google