* Composer Automatic loading mechanism
* fcgi, CGI principle
* MySQL Current version 8.0
https://www.mysql.com/
5.6
* Redis is applied in the project
* Golang Project
* Process of project development
* Design mode
===========================2018.07.30===================================
1. Load balancing [to is done]
61615876
2. Indexing and querying and indexing scenario creation
3. Routing of thinkphp [ongoing]
https://www.kancloud.cn/manual/thinkphp5/118030
./application/route.php
Some common SPL functions in 4.PHP [to is done]
http://php.net/manual/en/book.spl.php
5.mysql master-Slave separation of the ID hash understanding hash
Some common commands for 6.linux are familiar with Linux [done]
7. Recursive n! [Done]
8. PHP Single-instance mode
9. mysql Sub-table
CAS certification, Ucenter certification
* PHP program sends HTTP request
-Curl
$ch = Curl_init (); Curl_setopt_array ($ch, [ curlopt_url = ' https://www.baidu.com ', curlopt_header = 1, Curlopt_returntransfer = 1]); $data = curl_exec ($ch); Curl_close ($ch); Echo $data. Php_eol;
-socket
* MySQL Storage engine MYISAM/INNODB Select COUNT (*) ... With which storage engine is fast
MyISAM Saves the total number of rows in the table, and select COUNT (*) executes in the MyISAM storage engine, MyISAM simply reads out the saved row count.
The InnoDB storage engine does not save the exact number of rows in the table, so executing this code in the InnoDB storage engine InnoDB to scan through the entire table to calculate how many rows.
* MySQL function Pconnect/connect
mysql_pconnect- Open A persistent connection to a MySQL server
* Linux Shell Timer script
Crontab
* Likes are limited to 3 times per minute per person, 10 times per hour; Each IP 30 times per minute, 100 times a day
* Crawler Architecture
* PHP implements a cross-request queue (Redis?)
* Upload File security restrictions
* the "Hello World Blog Control" string is separated by a space, divided into arrays, all converted to lowercase, sorted alphabetically
(the Sort method of Php sort and JavaScript does not return calls SORT_STRING
)
<?PHPclassTestarrayobject {Private $s= ""; Public function__construct ($s) { $this->s =$s; } Public functionrun () {$ao=NewArrayobject (Array_map(function($word) { return Strtolower($word); },Explode(‘ ‘,$this-s)); $ao-Uasort(function($a,$b) { return strcmp($a,$b); }); return $ao-getarraycopy (); } } $o=NewTestarrayobject ("Hello World Blog controll Hola Hi Shalom");$a=$o-run ();Var_dump($a);
testarrayobject.php
Some Questions about PHP