ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## [**核心扩展库**](https://www.php.net/manual/zh/extensions.membership.php#extensions.membership.core) 以下并非真正的扩展库,它们属于 PHP 内核的一部分,不能通过编译选项将其排除。 * [数组](https://www.php.net/manual/zh/book.array.php) * [类/对象](https://www.php.net/manual/zh/book.classobj.php) * [CSPRNG](https://www.php.net/manual/zh/book.csprng.php) * [日期/时间](https://www.php.net/manual/zh/book.datetime.php) * [目录](https://www.php.net/manual/zh/book.dir.php) * [错误处理](https://www.php.net/manual/zh/book.errorfunc.php) * [程序执行](https://www.php.net/manual/zh/book.exec.php) * [文件系统](https://www.php.net/manual/zh/book.filesystem.php) * [Filter](https://www.php.net/manual/zh/book.filter.php) * [函数处理](https://www.php.net/manual/zh/book.funchand.php) * [Hash](https://www.php.net/manual/zh/book.hash.php) * [PHP 选项/信息](https://www.php.net/manual/zh/book.info.php) * [Mail](https://www.php.net/manual/zh/book.mail.php) * [Math](https://www.php.net/manual/zh/book.math.php) * [Misc.](https://www.php.net/manual/zh/book.misc.php) * [网络](https://www.php.net/manual/zh/book.network.php) * [输出控制](https://www.php.net/manual/zh/book.outcontrol.php) * [密码散列算法](https://www.php.net/manual/zh/book.password.php) * [Phar](https://www.php.net/manual/zh/book.phar.php) * [反射](https://www.php.net/manual/zh/book.reflection.php) * [POSIX Regex](https://www.php.net/manual/zh/book.regex.php) * [Sessions](https://www.php.net/manual/zh/book.session.php) * [SPL](https://www.php.net/manual/zh/book.spl.php) * [Streams](https://www.php.net/manual/zh/book.stream.php) * [字符串](https://www.php.net/manual/zh/book.strings.php) * [Tokenizer](https://www.php.net/manual/zh/book.tokenizer.php) * [URLs](https://www.php.net/manual/zh/book.url.php) * [Variable handling](https://www.php.net/manual/zh/book.var.php) ## [**绑定的扩展库**](https://www.php.net/manual/zh/extensions.membership.php#extensions.membership.bundled) 以下扩展库绑定在 PHP 发行包中。 * [Apache](https://www.php.net/manual/zh/book.apache.php) * [BC Math](https://www.php.net/manual/zh/book.bc.php) * [Calendar](https://www.php.net/manual/zh/book.calendar.php) * [COM](https://www.php.net/manual/zh/book.com.php) * [Ctype](https://www.php.net/manual/zh/book.ctype.php) * [DBA](https://www.php.net/manual/zh/book.dba.php) * [Exif](https://www.php.net/manual/zh/book.exif.php) * [Fileinfo](https://www.php.net/manual/zh/book.fileinfo.php) * [FTP](https://www.php.net/manual/zh/book.ftp.php) * [iconv](https://www.php.net/manual/zh/book.iconv.php) * [GD](https://www.php.net/manual/zh/book.image.php) * [intl](https://www.php.net/manual/zh/book.intl.php) * [JSON](https://www.php.net/manual/zh/book.json.php) * [多字节字符串](https://www.php.net/manual/zh/book.mbstring.php) * [NSAPI](https://www.php.net/manual/zh/book.nsapi.php) * [OPcache](https://www.php.net/manual/zh/book.opcache.php) * [PCNTL](https://www.php.net/manual/zh/book.pcntl.php) * [PCRE](https://www.php.net/manual/zh/book.pcre.php) * [PDO](https://www.php.net/manual/zh/book.pdo.php) * [POSIX](https://www.php.net/manual/zh/book.posix.php) * [Semaphore](https://www.php.net/manual/zh/book.sem.php) * [Shared Memory](https://www.php.net/manual/zh/book.shmop.php) * [Sockets](https://www.php.net/manual/zh/book.sockets.php) * [SQLite3](https://www.php.net/manual/zh/book.sqlite3.php) * [XML-RPC](https://www.php.net/manual/zh/book.xmlrpc.php) * [Zlib](https://www.php.net/manual/zh/book.zlib.php) ## [**外部扩展库**](https://www.php.net/manual/zh/extensions.membership.php#extensions.membership.external) 这些扩展库已经包含在PHP中但是需要编译它们才能使用,并且可能需要额外的扩展库。 * [Bzip2](https://www.php.net/manual/zh/book.bzip2.php) * [cURL](https://www.php.net/manual/zh/book.curl.php) * [dBase](https://www.php.net/manual/zh/book.dbase.php) * [DOM](https://www.php.net/manual/zh/book.dom.php) * [Enchant](https://www.php.net/manual/zh/book.enchant.php) * [FrontBase](https://www.php.net/manual/zh/book.fbsql.php) * [Gettext](https://www.php.net/manual/zh/book.gettext.php) * [GMP](https://www.php.net/manual/zh/book.gmp.php) * [Firebird/InterBase](https://www.php.net/manual/zh/book.ibase.php) * [Informix](https://www.php.net/manual/zh/book.ifx.php) * [IMAP](https://www.php.net/manual/zh/book.imap.php) * [LDAP](https://www.php.net/manual/zh/book.ldap.php) * [libxml](https://www.php.net/manual/zh/book.libxml.php) * [Mcrypt](https://www.php.net/manual/zh/book.mcrypt.php) * [Mhash](https://www.php.net/manual/zh/book.mhash.php) * [mSQL](https://www.php.net/manual/zh/book.msql.php) * [Mssql](https://www.php.net/manual/zh/book.mssql.php) * [Mysql(原始)](https://www.php.net/manual/zh/book.mysql.php) * [Mysqli](https://www.php.net/manual/zh/book.mysqli.php) * [Mysqlnd](https://www.php.net/manual/zh/book.mysqlnd.php) * [OCI8](https://www.php.net/manual/zh/book.oci8.php) * [OpenSSL](https://www.php.net/manual/zh/book.openssl.php) * [MS SQL Server (PDO)](https://www.php.net/manual/zh/ref.pdo-dblib.php) * [Firebird (PDO)](https://www.php.net/manual/zh/ref.pdo-firebird.php) * [MySQL (PDO)](https://www.php.net/manual/zh/ref.pdo-mysql.php) * [Oracle (PDO)](https://www.php.net/manual/zh/ref.pdo-oci.php) * [ODBC and DB2 (PDO)](https://www.php.net/manual/zh/ref.pdo-odbc.php) * [PostgreSQL (PDO)](https://www.php.net/manual/zh/ref.pdo-pgsql.php) * [SQLite (PDO)](https://www.php.net/manual/zh/ref.pdo-sqlite.php) * [PostgreSQL](https://www.php.net/manual/zh/book.pgsql.php) * [Pspell](https://www.php.net/manual/zh/book.pspell.php) * [Readline](https://www.php.net/manual/zh/book.readline.php) * [Recode](https://www.php.net/manual/zh/book.recode.php) * [SimpleXML](https://www.php.net/manual/zh/book.simplexml.php) * [SNMP](https://www.php.net/manual/zh/book.snmp.php) * [SOAP](https://www.php.net/manual/zh/book.soap.php) * [Sodium](https://www.php.net/manual/zh/book.sodium.php) * [Sybase](https://www.php.net/manual/zh/book.sybase.php) * [Tidy](https://www.php.net/manual/zh/book.tidy.php) * [ODBC](https://www.php.net/manual/zh/book.uodbc.php) * [WDDX](https://www.php.net/manual/zh/book.wddx.php) * [XML 解析器](https://www.php.net/manual/zh/book.xml.php) * [XMLReader](https://www.php.net/manual/zh/book.xmlreader.php) * [XMLWriter](https://www.php.net/manual/zh/book.xmlwriter.php) * [XSL](https://www.php.net/manual/zh/book.xsl.php) * [Zip](https://www.php.net/manual/zh/book.zip.php) ## PECL 扩展库[¶](https://www.php.net/manual/zh/extensions.membership.php#extensions.membership.pecl) 以下扩展来自[» PECL](https://pecl.php.net/),它们可能需要额外的库。还有更多的 PECL 扩展存在,但是在 PHP 手册中尚未有文档。 * [APC](https://www.php.net/manual/zh/book.apc.php) * [APD](https://www.php.net/manual/zh/book.apd.php) * [BBCode](https://www.php.net/manual/zh/book.bbcode.php) * [bcompiler](https://www.php.net/manual/zh/book.bcompiler.php) * [Cairo](https://www.php.net/manual/zh/book.cairo.php) * [chdb](https://www.php.net/manual/zh/book.chdb.php) * [Classkit](https://www.php.net/manual/zh/book.classkit.php) * [Crack](https://www.php.net/manual/zh/book.crack.php) * [CUBRID](https://www.php.net/manual/zh/book.cubrid.php) * [Cyrus](https://www.php.net/manual/zh/book.cyrus.php) * [DB++](https://www.php.net/manual/zh/book.dbplus.php) * [dbx](https://www.php.net/manual/zh/book.dbx.php) * [Direct IO](https://www.php.net/manual/zh/book.dio.php) * [Eio](https://www.php.net/manual/zh/book.eio.php) * [Ev](https://www.php.net/manual/zh/book.ev.php) * [Event](https://www.php.net/manual/zh/book.event.php) * [Expect](https://www.php.net/manual/zh/book.expect.php) * [FAM](https://www.php.net/manual/zh/book.fam.php) * [FDF](https://www.php.net/manual/zh/book.fdf.php) * [filePro](https://www.php.net/manual/zh/book.filepro.php) * [FriBiDi](https://www.php.net/manual/zh/book.fribidi.php) * [Gearman](https://www.php.net/manual/zh/book.gearman.php) * [Gender](https://www.php.net/manual/zh/book.gender.php) * [GeoIP](https://www.php.net/manual/zh/book.geoip.php) * [Gmagick](https://www.php.net/manual/zh/book.gmagick.php) * [GnuPG](https://www.php.net/manual/zh/book.gnupg.php) * [Gupnp](https://www.php.net/manual/zh/book.gupnp.php) * [haru](https://www.php.net/manual/zh/book.haru.php) * [htscanner](https://www.php.net/manual/zh/book.htscanner.php) * [Hyperwave API](https://www.php.net/manual/zh/book.hwapi.php) * [IBM DB2](https://www.php.net/manual/zh/book.ibm-db2.php) * [ID3](https://www.php.net/manual/zh/book.id3.php) * [IIS](https://www.php.net/manual/zh/book.iisfunc.php) * [ImageMagick](https://www.php.net/manual/zh/book.imagick.php) * [inclued](https://www.php.net/manual/zh/book.inclued.php) * [Ingres](https://www.php.net/manual/zh/book.ingres.php) * [Inotify](https://www.php.net/manual/zh/book.inotify.php) * [Judy](https://www.php.net/manual/zh/book.judy.php) * [KADM5](https://www.php.net/manual/zh/book.kadm5.php) * [KTaglib](https://www.php.net/manual/zh/book.ktaglib.php) * [Lapack](https://www.php.net/manual/zh/book.lapack.php) * [Libevent](https://www.php.net/manual/zh/book.libevent.php) * [Lua](https://www.php.net/manual/zh/book.lua.php) * [LuaSandbox](https://www.php.net/manual/zh/book.luasandbox.php) * [LZF](https://www.php.net/manual/zh/book.lzf.php) * [Mailparse](https://www.php.net/manual/zh/book.mailparse.php) * [MaxDB](https://www.php.net/manual/zh/book.maxdb.php) * [MCVE](https://www.php.net/manual/zh/book.mcve.php) * [Memcache](https://www.php.net/manual/zh/book.memcache.php) * [Memcached](https://www.php.net/manual/zh/book.memcached.php) * [Memtrack](https://www.php.net/manual/zh/book.memtrack.php) * [Mimetype](https://www.php.net/manual/zh/book.mime-magic.php) * [Ming](https://www.php.net/manual/zh/book.ming.php) * [mnoGoSearch](https://www.php.net/manual/zh/book.mnogosearch.php) * [Mongo](https://www.php.net/manual/zh/book.mongo.php) * [mqseries](https://www.php.net/manual/zh/book.mqseries.php) * [Msession](https://www.php.net/manual/zh/book.msession.php) * [mysqlnd\_memcache](https://www.php.net/manual/zh/book.mysqlnd-memcache.php) * [mysqlnd\_ms](https://www.php.net/manual/zh/book.mysqlnd-ms.php) * [mysqlnd\_mux](https://www.php.net/manual/zh/book.mysqlnd-mux.php) * [mysqlnd\_qc](https://www.php.net/manual/zh/book.mysqlnd-qc.php) * [mysqlnd\_uh](https://www.php.net/manual/zh/book.mysqlnd-uh.php) * [Ncurses](https://www.php.net/manual/zh/book.ncurses.php) * [Gopher](https://www.php.net/manual/zh/book.net-gopher.php) * [Newt](https://www.php.net/manual/zh/book.newt.php) * [YP/NIS](https://www.php.net/manual/zh/book.nis.php) * [OAuth](https://www.php.net/manual/zh/book.oauth.php) * [oggvorbis](https://www.php.net/manual/zh/book.oggvorbis.php) * [OpenAL](https://www.php.net/manual/zh/book.openal.php) * [Paradox](https://www.php.net/manual/zh/book.paradox.php) * [Parsekit](https://www.php.net/manual/zh/book.parsekit.php) * [PDF](https://www.php.net/manual/zh/book.pdf.php) * [4D (PDO)](https://www.php.net/manual/zh/ref.pdo-4d.php) * [CUBRID (PDO)](https://www.php.net/manual/zh/ref.pdo-cubrid.php) * [IBM (PDO)](https://www.php.net/manual/zh/ref.pdo-ibm.php) * [Informix (PDO)](https://www.php.net/manual/zh/ref.pdo-informix.php) * [MS SQL Server (PDO)](https://www.php.net/manual/zh/ref.pdo-sqlsrv.php) * [Proctitle](https://www.php.net/manual/zh/book.proctitle.php) * [PS](https://www.php.net/manual/zh/book.ps.php) * [pthreads](https://www.php.net/manual/zh/book.pthreads.php) * [Quickhash](https://www.php.net/manual/zh/book.quickhash.php) * [Radius](https://www.php.net/manual/zh/book.radius.php) * [Rar](https://www.php.net/manual/zh/book.rar.php) * [RPM Reader](https://www.php.net/manual/zh/book.rpmreader.php) * [RRD](https://www.php.net/manual/zh/book.rrd.php) * [runkit](https://www.php.net/manual/zh/book.runkit.php) * [SAM](https://www.php.net/manual/zh/book.sam.php) * [SCA](https://www.php.net/manual/zh/book.sca.php) * [scream](https://www.php.net/manual/zh/book.scream.php) * [SDO](https://www.php.net/manual/zh/book.sdo.php) * [SDO DAS XML](https://www.php.net/manual/zh/book.sdo-das-xml.php) * [SDO-DAS-Relational](https://www.php.net/manual/zh/book.sdodasrel.php) * [SeasLog](https://www.php.net/manual/zh/book.seaslog.php) * [Session PgSQL](https://www.php.net/manual/zh/book.session-pgsql.php) * [Solr](https://www.php.net/manual/zh/book.solr.php) * [Sphinx](https://www.php.net/manual/zh/book.sphinx.php) * [SPL Types](https://www.php.net/manual/zh/book.spl-types.php) * [SQLite](https://www.php.net/manual/zh/book.sqlite.php) * [SQLSRV](https://www.php.net/manual/zh/book.sqlsrv.php) * [ssdeep](https://www.php.net/manual/zh/book.ssdeep.php) * [SSH2](https://www.php.net/manual/zh/book.ssh2.php) * [Statistics](https://www.php.net/manual/zh/book.stats.php) * [Stomp](https://www.php.net/manual/zh/book.stomp.php) * [Swoole](https://www.php.net/manual/zh/book.swoole.php) * [SVM](https://www.php.net/manual/zh/book.svm.php) * [SVN](https://www.php.net/manual/zh/book.svn.php) * [Swish](https://www.php.net/manual/zh/book.swish.php) * [Taint](https://www.php.net/manual/zh/book.taint.php) * [TCP](https://www.php.net/manual/zh/book.tcpwrap.php) * [tokyo\_tyrant](https://www.php.net/manual/zh/book.tokyo-tyrant.php) * [Trader](https://www.php.net/manual/zh/book.trader.php) * [V8js](https://www.php.net/manual/zh/book.v8js.php) * [Varnish](https://www.php.net/manual/zh/book.varnish.php) * [vpopmail](https://www.php.net/manual/zh/book.vpopmail.php) * [Weakref](https://www.php.net/manual/zh/book.weakref.php) * [win32ps](https://www.php.net/manual/zh/book.win32ps.php) * [win32service](https://www.php.net/manual/zh/book.win32service.php) * [WinCache](https://www.php.net/manual/zh/book.wincache.php) * [xattr](https://www.php.net/manual/zh/book.xattr.php) * [xdiff](https://www.php.net/manual/zh/book.xdiff.php) * [Xhprof](https://www.php.net/manual/zh/book.xhprof.php) * [Yaf](https://www.php.net/manual/zh/book.yaf.php) * [Yaml](https://www.php.net/manual/zh/book.yaml.php) * [YAZ](https://www.php.net/manual/zh/book.yaz.php) * [ZooKeeper](https://www.php.net/manual/zh/book.zookeeper.php)