PHP kernel exploration-start and end of a request: MINIT and RINIT, RSHUTDOWN, and mshutdown php will go through two main phases after execution:
Start phase before Request processing
End stage after request
The start stage has two processes:
The
Reflection and usage of PHP variables and type extensions
I. Overview and installation
PHP 5 has a complete reflection API and adds the reverse engineering capability for classes, interfaces, functions, methods, and extensions. In addition, the
PHP kernel exploration-starting from SAPI Interface SAPI: Server Application Programming Interface Server-side Application Programming port. Students who have studied the PHP architecture should know the importance of this stuff. It provides an
PHP extension-text processing-PCRE regular expression syntax 14-annotation and recursive mode
Note
Character sequence (? # Mark the start of a comment until a right parenthesis is encountered. Nested parentheses are not allowed. The characters in
PHP variables and type extensions and objects
I. Overview and installation
These functions allow you to obtain information about classes and object instances. You can obtain the class name of an object, or its member attributes and methods. By using
PHP extension-text processing-PCRE regular expression syntax 13-condition sub-groups can enable a matcher based on the result of an asserted, or whether a previous capture sub-group matches a condition match a sub-group or select between two
PHP extension text processing-POSIX regular expression function and example POSIX Regex function
Ereg_replace-regular expression replacement
Ereg-regular expression matching
Eregi_replace-replace a case-insensitive regular
PHP extension text processing -- PCRE regular expression syntax 11 -- asserted an asserted is a test of the character before or after the current matching position, which does not actually consume any characters. Simple asserted codes include \ B, \
PHP extension text processing-the difference between PCRE and POSIX regular expressions is from PHP 5.3.0, and POSIX regular expression extensions are discarded. There are some differences between POSIX regular expressions and PCRE regular
PHP extension-text processing-PCRE regular expression syntax 8-child groups (Child Mode) child groups are defined by parentheses and can be nested. Marking part of a mode as a sub-group (sub-mode) mainly involves two tasks:
Localize available
PHP extension text processing -- PCRE regular expression syntax 4 -- Unicode character attributes since PHP 4.4.0 and 5.1.0, three additional escape sequences are used to match common character types when using UTF-8 mode. They are:
\ P {xx}
A
PHP extension mathematical function extension related processing and methods mathematical functions:
Abs-absolute value
Acos-arccosine
Acossh-inverse hyperbolic cosine
Asin-arcsin
Asinh-Inverse hyperbolic sine
Atan2-arc tangent of two
The mail () function of the PHP extension function allows you to send emails.
To make the right-click function run normally, PHP must access the sendmail executable file in your system during compilation. If you use other email programs, such as
PHP extension text processing -- PCRE regular expression syntax 1 -- delimiter when using the PCRE function, the mode needs to be closed by the delimiter. The delimiter can be any non-alphanumeric, non-backslash, or non-blank character.
Small questions about new PHP
Cause
Some people mentioned a question about new and stdClass in the group two days ago, as shown below:
This code can run correctly, and $ a and $ B are two different empty objects. Even if $ a is added and assigned
PHP extension client URL library -- cURL
Introduction and installation configuration
The libcurl library created by Daniel Stenberg supported by PHP allows you to connect to and communicate with various servers using various protocols. Libcurl
PHP extension-related file system functions
Directory functions
Chdir-Change Directory
Chroot-change root directory
Closedir-close directory handle
Dir-Return an instance of the Directory class
Getcwd-get the current working directory
Opendir-Open
PHP extension compression and archive extension 3-Zip this extension allows you to read and write ZIP compressed documents and their files transparently.
To use these functions after PHP5.2, you must use the -- enable-zip configuration option to
* *** @ Param all arrays $ array * @ param current user id $ id * @ param storage variable $ str * @ returnstring * functionfindIds ($ array, $ id, $ str) {$ resultfindChild ($ array, $ id); obtain all subnodes with the same level under the current
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service