These functions/constants are available as of PHP 5.1.0, and the following core extensions rely on this libxml extension: DOM, libxml, SimpleXML, SOAP, WDDX, XSL, XML, XMLReader, XMLRPC 和 XMLWriter.
The SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators.
2723PHP Extension libxml.
PHP Extension libxml.
These functions/constants are available as of PHP 5.1.0, and the following core extensions rely on this libxml extension: DOM, libxml, SimpleXML, SOAP, WDDX, XSL, XML, XMLReader, XMLRPC 和 XMLWriter.
libxml 函数和常量与 SimpleXML, XSLT 以及 DOM 一起使用
php.net/manual/zh/intro.libxml.php
2722PHP Extension bcmath.
PHP Extension bcmath.
大多数编程语言对于浮点型数据格式遵循 IEEE 754 标准,会导致使用浮点数运算会有精度丢失的问题。
PHP提供了 BCMath 库来支持更加精确的计算
Binary Calculator
对于任意精度的数学,PHP提供了支持用字符串表示的任意大小和精度的数字的二进制计算,最多为2147483647-1(或0x7FFFFFFF-1)。
php.net/manual/zh/book.bc.php
2721PHP Extension simplexml.
PHP Extension simplexml.
The SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators.
php.net/manual/en/intro.simplexml.php
2720PHP Extension ctype.
PHP Extension ctype.
Ctype函数是PHP内置的字符串检测函数
该扩展所提供的函数用来 在当前的区域设定下(参见 setlocale()),一个字符或者字符串 是否仅包含指定类型的字符。
当使用整数作为参数调用这些函数的时候, 这些函数的行为和 C 语言(ctype.h) 中的对应函数一样。
传入了小于 256 的整数参数,它会把这个整数当做 ASCII 码值, 来对应字符是否符合要求(数值的 ASCII 值范围为 0x30-0x39)。
传入的参数介于 -128 和 -1 之间(含 -128 和 -1),它会先将其加上 256,然后再进行
是否是
ctype_alnum
Check for alphanumeric character(s)
只包含[A-Za-z0-9]
ctype_alpha
Check for alphabetic character(s)
只包含[A-Za-z]
ctype_cntrl
Check for control character(s)
检查只包含类是“\n\r\t”之类的字 符控制字符
ctype_digit
Check for numeric character(s)
检查时候是只包含数字字符的字符串(0-9)
ctype_graph
Check for any printable character(s) except space
检查只包含有可以打印出来的字符(除了空格)的字符串
ctype_lower
Check for lowercase character(s)
检查是否所有的字符都是英文字母,并且都是小写的
ctype_print
Check for printable character(s)
检查只包含有可以打印出来的字符的字符串
ctype_punct
Check for any printable character which is not whitespace or an alphanumeric character
检查只包含非数字/字符/空格的可打印出来的字符
ctype_space
Check for whitespace character(s)
检查只包含类是“ ”之类的字符和空格
ctype_upper
Check for uppercase character(s)
检查是否所有的字符都是英文字母,并且都是大写的
ctype_xdigit
Check for character(s) representing a hexadecimal digit
检查16进制的字符串,只能包括 “0123456789abcdef”
php.net/manual/zh/intro.ctype.php
2719PHP Extension pdo_mysql
PHP Extension pdo_mysql
MySQL Functions (PDO_MYSQL)
PDO_MYSQL is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to MySQL databases.
php.net/manual/zh/ref.pdo-mysql.php