Undertake: ZBlog plug-in customization, ZBlog theme customization/imitation, train collector rules, and preferential price

PHP
 PHP regular expression log (2) Idle work

PHP regular expression log (2)

Collected a sample tutorial of PHP regular expressions. It's really good. Record it. Regular expressions are used in string processing, form validation, etc

 PHP Notes: Factory Mode Idle work

PHP Notes: Factory Mode

Factory pattern is a kind of pattern. It establishes a factory to create objects according to needs. This method is very important in polymorphic programming, allowing dynamic replacement

 PHP regular expression log Idle work

PHP regular expression log

This is just a log, recording some content related to php regularity. Some commonly used, basically defined character descriptions. Match any word except n

 PHP tip: The glob() function returns the file name or directory matching the specified pattern Idle work

PHP tip: The glob() function returns the file name or directory matching the specified pattern

When updating a plug-in recently, it is necessary to read all files in the specified folder and check their creation time. First of all, the first thought

 PHP obtains the current file address and subdirectory Idle work

PHP obtains the current file address and subdirectory

In the process of PHP, it is often used to set the current file address for selection. Sometimes, the use of relative address will fail. Therefore, PHP provides this