事件驅動,非阻塞式 I/O,其他的 ev/uv/eio 之類的想了解也可以看看
這是使用特定平臺可用的最佳I / O通知機制有效地調度基于I / O,時間和信號的事件的擴展。這是libevent與PHP基礎結構的移植。
請注意,*event-1.0.0*及更高版本與以前的版本不兼容
[https://pecl.php.net/package/event](https://pecl.php.net/package/event).
* [例子](https://www.php.net/manual/en/event.examples.php)
* [事件標志](https://www.php.net/manual/en/event.flags.php)
* [關于事件持久性](https://www.php.net/manual/en/event.persistence.php)
* [事件回調](https://www.php.net/manual/en/event.callbacks.php)
* [構造信號事件](https://www.php.net/manual/en/event.constructing.signal.events.php)
* [事件](https://www.php.net/manual/en/class.event.php)—事件類
* [Event ::](https://www.php.net/manual/en/event.add.php)add-使事件掛起
* [Event :: addSignal](https://www.php.net/manual/en/event.addsignal.php)—使信號事件掛起
* [Event :: addTimer](https://www.php.net/manual/en/event.addtimer.php)—使計時器事件掛起
* [Event :: \_\_ construct](https://www.php.net/manual/en/event.construct.php)—構造事件對象
* [Event :: del](https://www.php.net/manual/en/event.del.php)—使事件處于未決狀態
* [Event :: delSignal](https://www.php.net/manual/en/event.delsignal.php)—使信號事件處于未決狀態
* [Event :: delTimer](https://www.php.net/manual/en/event.deltimer.php)—使計時器事件處于未掛起狀態
* [Event :: free](https://www.php.net/manual/en/event.free.php)—使事件成為非掛起事件,并為此事件分配空閑資源
* [Event :: getSupportedMethods](https://www.php.net/manual/en/event.getsupportedmethods.php)—返回具有此版本Libevent支持的方法名稱的數組
* [Event :: pending](https://www.php.net/manual/en/event.pending.php)—檢測事件是掛起還是已調度
* [Event :: set](https://www.php.net/manual/en/event.set.php)—重新配置事件
* [Event :: setPriority](https://www.php.net/manual/en/event.setpriority.php)—設置事件優先級
* [Event :: setTimer](https://www.php.net/manual/en/event.settimer.php)—重新配置計時器事件
* [Event :: signal](https://www.php.net/manual/en/event.signal.php)—構造信號事件對象
* [Event :: timer](https://www.php.net/manual/en/event.timer.php)—構造計時器事件對象
* [EventBase](https://www.php.net/manual/en/class.eventbase.php)— EventBase類
* [EventBase :: \_\_ construct](https://www.php.net/manual/en/eventbase.construct.php)—構造EventBase對象
* [EventBase :: dispatch](https://www.php.net/manual/en/eventbase.dispatch.php)—調度未決事件
* [EventBase :: exit](https://www.php.net/manual/en/eventbase.exit.php)—停止調度事件
* [EventBase :: free](https://www.php.net/manual/en/eventbase.free.php)—為此事件庫分配的免費資源
* [EventBase :: getFeatures](https://www.php.net/manual/en/eventbase.getfeatures.php)—返回支持的功能的位掩碼
* [EventBase :: getMethod](https://www.php.net/manual/en/eventbase.getmethod.php)—返回正在使用的事件方法
* [EventBase :: getTimeOfDayCached](https://www.php.net/manual/en/eventbase.gettimeofdaycached.php)—返回當前事件的基準時間
* [EventBase :: gotExit](https://www.php.net/manual/en/eventbase.gotexit.php)—檢查是否告知事件循環退出
* [EventBase :: gotStop](https://www.php.net/manual/en/eventbase.gotstop.php)—檢查是否告知事件循環退出
* [EventBase :: loop](https://www.php.net/manual/en/eventbase.loop.php)—調度未決事件
* [EventBase :: priorityInit](https://www.php.net/manual/en/eventbase.priorityinit.php)—設置每個事件庫的優先級數量
* [EventBase :: reInit](https://www.php.net/manual/en/eventbase.reinit.php)—重新初始化事件庫(在派生之后)
* [EventBase :: stop](https://www.php.net/manual/en/eventbase.stop.php)—告訴event\_base停止調度事件
* [EventBuffer](https://www.php.net/manual/en/class.eventbuffer.php)— EventBuffer類
* [EventBuffer :: add](https://www.php.net/manual/en/eventbuffer.add.php)—將數據追加到事件緩沖區的末尾
* [EventBuffer :: addBuffer](https://www.php.net/manual/en/eventbuffer.addbuffer.php)—將所有數據從提供的緩沖區移到EventBuffer的當前實例
* [EventBuffer :: appendFrom](https://www.php.net/manual/en/eventbuffer.appendfrom.php)—將指定數量的字節從源緩沖區移動到當前緩沖區的末尾
* [EventBuffer ::](https://www.php.net/manual/en/eventbuffer.construct.php)\_\_construct —構造EventBuffer對象
* [EventBuffer :: copyout](https://www.php.net/manual/en/eventbuffer.copyout.php)—從緩沖區的前面復制指定數量的字節
* [EventBuffer :: drain](https://www.php.net/manual/en/eventbuffer.drain.php)—從緩沖區的[開頭](https://www.php.net/manual/en/eventbuffer.drain.php)刪除指定數量的字節,而不將其復制到任何地方
* [EventBuffer :: enableLocking](https://www.php.net/manual/en/eventbuffer.enablelocking.php)—說明
* [EventBuffer :: expand](https://www.php.net/manual/en/eventbuffer.expand.php)—在緩沖區中保留空間
* [EventBuffer :: freeze](https://www.php.net/manual/en/eventbuffer.freeze.php)—阻止成功修改事件緩沖區的調用
* [EventBuffer :: lock](https://www.php.net/manual/en/eventbuffer.lock.php)—獲取緩沖區鎖定
* [EventBuffer :: prepend](https://www.php.net/manual/en/eventbuffer.prepend.php)—在緩沖區的前面添加數據
* [EventBuffer :: prependBuffer](https://www.php.net/manual/en/eventbuffer.prependbuffer.php)—將所有數據從源緩沖區移到當前緩沖區的前面
* [EventBuffer :: pullup](https://www.php.net/manual/en/eventbuffer.pullup.php)—線性化緩沖區中的數據并以字符串形式返回其內容
* [EventBuffer :: read](https://www.php.net/manual/en/eventbuffer.read.php)—從evbuffer讀取數據并耗盡讀取的字節
* [EventBuffer :: readFrom](https://www.php.net/manual/en/eventbuffer.readfrom.php)—從文件讀取數據到緩沖區的末尾
* [EventBuffer :: readLine](https://www.php.net/manual/en/eventbuffer.readline.php)—從緩沖區的前面提取一行
* [EventBuffer :: search](https://www.php.net/manual/en/eventbuffer.search.php)—掃描緩沖區是否出現字符串
* [EventBuffer :: searchEol](https://www.php.net/manual/en/eventbuffer.searcheol.php)—掃描緩沖區是否出現行尾
* [EventBuffer :: substr](https://www.php.net/manual/en/eventbuffer.substr.php)—[減去](https://www.php.net/manual/en/eventbuffer.substr.php)緩沖區數據的一部分
* [EventBuffer :: unfreeze](https://www.php.net/manual/en/eventbuffer.unfreeze.php)—重新啟用修改事件緩沖區的調用
* [EventBuffer :: unlock](https://www.php.net/manual/en/eventbuffer.unlock.php)—釋放由EventBuffer :: lock獲取的鎖
* [EventBuffer :: write](https://www.php.net/manual/en/eventbuffer.write.php)—將緩沖區的內容[寫入](https://www.php.net/manual/en/eventbuffer.write.php)文件或套接字
* [EventBufferEvent](https://www.php.net/manual/en/class.eventbufferevent.php)— EventBufferEvent類
* [EventBufferEvent :: close](https://www.php.net/manual/en/eventbufferevent.close.php)—關閉與當前緩沖區事件關聯的文件描述符
* [EventBufferEvent :: connect](https://www.php.net/manual/en/eventbufferevent.connect.php)—將緩沖區事件的文件描述符連接到給定地址或UNIX套接字
* [EventBufferEvent :: connectHost](https://www.php.net/manual/en/eventbufferevent.connecthost.php)—使用可選的異步DNS解析連接到主機名
* [EventBufferEvent ::](https://www.php.net/manual/en/eventbufferevent.construct.php)\_\_construct —構造EventBufferEvent對象
* [EventBufferEvent :: createPair](https://www.php.net/manual/en/eventbufferevent.createpair.php)—創建兩個相互連接的緩沖區事件
* [EventBufferEvent :: disable](https://www.php.net/manual/en/eventbufferevent.disable.php)—禁用對緩沖區事件的讀取,寫入或同時禁用事件
* [EventBufferEvent :: enable](https://www.php.net/manual/en/eventbufferevent.enable.php)—啟用對緩沖區事件的讀取,寫入或兩者兼有的事件
* [EventBufferEvent :: free](https://www.php.net/manual/en/eventbufferevent.free.php)—釋放緩沖區事件
* [EventBufferEvent :: getDnsErrorString](https://www.php.net/manual/en/eventbufferevent.getdnserrorstring.php)—返回描述上一次失敗的DNS查找嘗試的字符串
* [EventBufferEvent :: getEnabled](https://www.php.net/manual/en/eventbufferevent.getenabled.php)—返回當前在緩沖區事件上啟用的事件的位掩碼
* [EventBufferEvent :: getInput](https://www.php.net/manual/en/eventbufferevent.getinput.php)—返回與當前緩沖區事件關聯的基礎輸入緩沖區
* [EventBufferEvent :: getOutput](https://www.php.net/manual/en/eventbufferevent.getoutput.php)—返回與當前緩沖區事件關聯的基礎輸出緩沖區
* [EventBufferEvent :: read](https://www.php.net/manual/en/eventbufferevent.read.php)—讀取緩沖區的數據
* [EventBufferEvent :: readBuffer](https://www.php.net/manual/en/eventbufferevent.readbuffer.php)—[清空](https://www.php.net/manual/en/eventbufferevent.readbuffer.php)輸入緩沖區的全部內容并將其放入buf
* [EventBufferEvent :: setCallbacks](https://www.php.net/manual/en/eventbufferevent.setcallbacks.php)—分配讀,寫和事件(狀態)回調
* [EventBufferEvent :: setPriority](https://www.php.net/manual/en/eventbufferevent.setpriority.php)—為[緩沖區](https://www.php.net/manual/en/eventbufferevent.setpriority.php)事件分配優先級
* [EventBufferEvent :: setTimeouts](https://www.php.net/manual/en/eventbufferevent.settimeouts.php)—設置緩沖區事件的讀寫超時
* [EventBufferEvent :: setWatermark](https://www.php.net/manual/en/eventbufferevent.setwatermark.php)—調整讀取和/或寫入水印
* [EventBufferEvent :: sslError](https://www.php.net/manual/en/eventbufferevent.sslerror.php)—返回有關緩沖區事件報告的最新OpenSSL錯誤
* [EventBufferEvent :: sslFilter](https://www.php.net/manual/en/eventbufferevent.sslfilter.php)—創建一個新的SSL緩沖區事件以通過另一個緩沖區事件發送其數據
* [EventBufferEvent :: sslGetCipherInfo](https://www.php.net/manual/en/eventbufferevent.sslgetcipherinfo.php)—返回密碼的文本描述
* [EventBufferEvent :: sslGetCipherName](https://www.php.net/manual/en/eventbufferevent.sslgetciphername.php)—返回SSL連接的當前密碼名稱
* [EventBufferEvent :: sslGetCipherVersion](https://www.php.net/manual/en/eventbufferevent.sslgetcipherversion.php)—返回當前SSL連接使用的密碼版本
* [EventBufferEvent :: sslGetProtocol](https://www.php.net/manual/en/eventbufferevent.sslgetprotocol.php)—返回用于當前SSL連接的協議的名稱
* [EventBufferEvent :: sslRenegotiate](https://www.php.net/manual/en/eventbufferevent.sslrenegotiate.php)—告訴bufferevent開始SSL重新協商
* [EventBufferEvent :: sslSocket](https://www.php.net/manual/en/eventbufferevent.sslsocket.php)—創建一個新的SSL緩沖區事件以通過套接字上的SSL發送其數據
* [EventBufferEvent :: write](https://www.php.net/manual/en/eventbufferevent.write.php)—將數據添加到緩沖區事件的輸出緩沖區
* [EventBufferEvent :: writeBuffer](https://www.php.net/manual/en/eventbufferevent.writebuffer.php)—將整個緩沖區的內容添加到緩沖區事件的輸出緩沖區
* [關于緩沖區事件回調](https://www.php.net/manual/en/eventbufferevent.about.callbacks.php)
* [EventConfig](https://www.php.net/manual/en/class.eventconfig.php)— EventConfig類
* [EventConfig :: avoidMethod](https://www.php.net/manual/en/eventconfig.avoidmethod.php)—告訴libevent避免特定的事件方法
* [EventConfig :: \_\_ construct](https://www.php.net/manual/en/eventconfig.construct.php)—構造EventConfig對象
* [EventConfig :: requireFeatures](https://www.php.net/manual/en/eventconfig.requirefeatures.php)—輸入應用程序所需的必需事件方法功能
* [EventConfig :: setMaxDispatchInterval](https://www.php.net/manual/en/eventconfig.setmaxdispatchinterval.php)—防止優先級倒置
* [EventDnsBase](https://www.php.net/manual/en/class.eventdnsbase.php)— EventDnsBase類
* [EventDnsBase :: addNameserverIp](https://www.php.net/manual/en/eventdnsbase.addnameserverip.php)—將名稱服務器添加到DNS基礎
* [EventDnsBase :: addSearch](https://www.php.net/manual/en/eventdnsbase.addsearch.php)—將域添加到搜索域列表中
* [EventDnsBase :: clearSearch](https://www.php.net/manual/en/eventdnsbase.clearsearch.php)—刪除所有當前的搜索后綴
* [EventDnsBase :: \_\_ construct](https://www.php.net/manual/en/eventdnsbase.construct.php)—構造EventDnsBase對象
* [EventDnsBase :: countNameservers](https://www.php.net/manual/en/eventdnsbase.countnameservers.php)—獲取已配置名稱服務器的數量
* [EventDnsBase :: loadHosts](https://www.php.net/manual/en/eventdnsbase.loadhosts.php)—從主機文件加載主機文件(格式與/ etc / hosts相同)
* [EventDnsBase :: parseResolvConf](https://www.php.net/manual/en/eventdnsbase.parseresolvconf.php)—掃描resolv.conf格式的文件
* [EventDnsBase :: setOption](https://www.php.net/manual/en/eventdnsbase.setoption.php)—設置配置選項的值
* [EventDnsBase :: setSearchNdots](https://www.php.net/manual/en/eventdnsbase.setsearchndots.php)—設置搜索的“ ndots”參數
* [EventHttp](https://www.php.net/manual/en/class.eventhttp.php)— EventHttp類
* [EventHttp :: accept](https://www.php.net/manual/en/eventhttp.accept.php)—使HTTP服務器接受指定套接字流或資源上的連接
* [EventHttp :: addServerAlias](https://www.php.net/manual/en/eventhttp.addserveralias.php)—將服務器別名添加到HTTP服務器對象
* [EventHttp :: bind](https://www.php.net/manual/en/eventhttp.bind.php)—在指定的地址和端口上綁定HTTP服務器
* [EventHttp :: \_\_ construct](https://www.php.net/manual/en/eventhttp.construct.php)—構造EventHttp對象(HTTP服務器)
* [EventHttp :: removeServerAlias](https://www.php.net/manual/en/eventhttp.removeserveralias.php)—刪除服務器別名
* [EventHttp :: setAllowedMethods](https://www.php.net/manual/en/eventhttp.setallowedmethods.php)—設置此服務器接受的請求中支持的HTTP方法,并傳遞給用戶回調
* [EventHttp :: setCallback](https://www.php.net/manual/en/eventhttp.setcallback.php)—為指定的URI設置回調
* [EventHttp :: setDefaultCallback](https://www.php.net/manual/en/eventhttp.setdefaultcallback.php)—設置默認回調以處理未被特定回調捕獲的請求
* [EventHttp :: setMaxBodySize](https://www.php.net/manual/en/eventhttp.setmaxbodysize.php)—設置最大請求正文大小
* [EventHttp :: setMaxHeadersSize-](https://www.php.net/manual/en/eventhttp.setmaxheaderssize.php)設置最大HTTP標頭大小
* [EventHttp :: setTimeout](https://www.php.net/manual/en/eventhttp.settimeout.php)—設置HTTP請求的超時
* [EventHttpConnection](https://www.php.net/manual/en/class.eventhttpconnection.php)— EventHttpConnection類
* [EventHttpConnection :: \_\_ construct](https://www.php.net/manual/en/eventhttpconnection.construct.php)—構造EventHttpConnection對象
* [EventHttpConnection :: getBase](https://www.php.net/manual/en/eventhttpconnection.getbase.php)—返回與連接關聯的事件庫
* [EventHttpConnection :: getPeer](https://www.php.net/manual/en/eventhttpconnection.getpeer.php)—獲取與連接關聯的遠程地址和端口
* [EventHttpConnection :: makeRequest](https://www.php.net/manual/en/eventhttpconnection.makerequest.php)—通過指定的連接發出HTTP請求
* [EventHttpConnection :: setCloseCallback](https://www.php.net/manual/en/eventhttpconnection.setclosecallback.php)—設置關閉連接的回調
* [EventHttpConnection :: setLocalAddress](https://www.php.net/manual/en/eventhttpconnection.setlocaladdress.php)—設置用于建立HTTP連接的IP地址
* [EventHttpConnection :: setLocalPort](https://www.php.net/manual/en/eventhttpconnection.setlocalport.php)—設置用于建立連接的本地端口
* [EventHttpConnection :: setMaxBodySize](https://www.php.net/manual/en/eventhttpconnection.setmaxbodysize.php)—設置連接的最大正文大小
* [EventHttpConnection :: setMaxHeadersSize-](https://www.php.net/manual/en/eventhttpconnection.setmaxheaderssize.php)設置最大標頭大小
* [EventHttpConnection :: setRetries](https://www.php.net/manual/en/eventhttpconnection.setretries.php)—設置連接的重試限制
* [EventHttpConnection :: setTimeout](https://www.php.net/manual/en/eventhttpconnection.settimeout.php)—設置連接超時
* [EventHttpRequest](https://www.php.net/manual/en/class.eventhttprequest.php)— EventHttpRequest類
* [EventHttpRequest :: addHeader](https://www.php.net/manual/en/eventhttprequest.addheader.php)—將HTTP標頭添加到請求的標頭中
* [EventHttpRequest :: cancel](https://www.php.net/manual/en/eventhttprequest.cancel.php)—取消掛起的HTTP請求
* [EventHttpRequest :: clearHeaders](https://www.php.net/manual/en/eventhttprequest.clearheaders.php)—從請求的標頭列表中刪除所有輸出標頭
* [EventHttpRequest :: closeConnection](https://www.php.net/manual/en/eventhttprequest.closeconnection.php)—關閉關聯的HTTP連接
* [EventHttpRequest :: \_\_ construct](https://www.php.net/manual/en/eventhttprequest.construct.php)—構造EventHttpRequest對象
* [EventHttpRequest :: findHeader](https://www.php.net/manual/en/eventhttprequest.findheader.php)—查找屬于標頭的值
* [EventHttpRequest :: free](https://www.php.net/manual/en/eventhttprequest.free.php)—釋放對象并刪除關聯的事件
* [EventHttpRequest :: getBufferEvent](https://www.php.net/manual/en/eventhttprequest.getbufferevent.php)—返回EventBufferEvent對象
* [EventHttpRequest :: getCommand](https://www.php.net/manual/en/eventhttprequest.getcommand.php)—返回請求命令(方法)
* [EventHttpRequest :: getConnection](https://www.php.net/manual/en/eventhttprequest.getconnection.php)—返回EventHttpConnection對象
* [EventHttpRequest :: getHost](https://www.php.net/manual/en/eventhttprequest.gethost.php)—返回請求主機
* [EventHttpRequest :: getInputBuffer](https://www.php.net/manual/en/eventhttprequest.getinputbuffer.php)—返回輸入緩沖區
* [EventHttpRequest :: getInputHeaders](https://www.php.net/manual/en/eventhttprequest.getinputheaders.php)—返回輸入標題的關聯數組
* [EventHttpRequest :: getOutputBuffer](https://www.php.net/manual/en/eventhttprequest.getoutputbuffer.php)—返回請求的輸出緩沖區
* [EventHttpRequest :: getOutputHeaders](https://www.php.net/manual/en/eventhttprequest.getoutputheaders.php)—返回輸出標頭的關聯數組
* [EventHttpRequest :: getResponseCode](https://www.php.net/manual/en/eventhttprequest.getresponsecode.php)—返回響應代碼
* [EventHttpRequest :: getUri](https://www.php.net/manual/en/eventhttprequest.geturi.php)—返回請求URI
* [EventHttpRequest :: removeHeader](https://www.php.net/manual/en/eventhttprequest.removeheader.php)—從請求的標頭中刪除HTTP標頭
* [EventHttpRequest :: sendError](https://www.php.net/manual/en/eventhttprequest.senderror.php)—將HTML錯誤消息發送到客戶端
* [EventHttpRequest :: sendReply-](https://www.php.net/manual/en/eventhttprequest.sendreply.php)向客戶端發送HTML回復
* [EventHttpRequest :: sendReplyChunk-](https://www.php.net/manual/en/eventhttprequest.sendreplychunk.php)發送另一個數據塊作為正在進行的分塊答復的一部分
* [EventHttpRequest :: sendReplyEnd](https://www.php.net/manual/en/eventhttprequest.sendreplyend.php)—完成分塊答復,并根據需要釋放請求
* [EventHttpRequest :: sendReplyStart](https://www.php.net/manual/en/eventhttprequest.sendreplystart.php)—啟動分塊答復
* [EventListener](https://www.php.net/manual/en/class.eventlistener.php)— EventListener類
* [EventListener :: \_\_ construct](https://www.php.net/manual/en/eventlistener.construct.php)—創建與事件庫關聯的新連接偵聽器
* [EventListener :: disable](https://www.php.net/manual/en/eventlistener.disable.php)—禁用事件連接偵聽器對象
* [EventListener :: enable](https://www.php.net/manual/en/eventlistener.enable.php)—啟用事件連接偵聽器對象
* [EventListener :: getBase](https://www.php.net/manual/en/eventlistener.getbase.php)—返回與事件偵聽器關聯的事件庫
* [EventListener :: getSocketName](https://www.php.net/manual/en/eventlistener.getsocketname.php)—獲取偵聽器的套接字綁定到的當前地址
* [EventListener :: setCallback](https://www.php.net/manual/en/eventlistener.setcallback.php)— setCallback的用途
* [EventListener :: setErrorCallback](https://www.php.net/manual/en/eventlistener.seterrorcallback.php)—設置事件偵聽器的錯誤回調
* [EventSslContext](https://www.php.net/manual/en/class.eventsslcontext.php)— EventSslContext類
* [EventSslContext :: \_\_ construct](https://www.php.net/manual/en/eventsslcontext.construct.php)—構造用于事件類的OpenSSL上下文
* [EventUtil](https://www.php.net/manual/en/class.eventutil.php)— EventUtil類
* [EventUtil :: \_\_construct](https://www.php.net/manual/en/eventutil.construct.php)—抽象構造函數
* [EventUtil :: getLastSocketErrno](https://www.php.net/manual/en/eventutil.getlastsocketerrno.php)—返回最新的套接字錯誤號
* [EventUtil :: getLastSocketError](https://www.php.net/manual/en/eventutil.getlastsocketerror.php)—返回最新的套接字錯誤
* [EventUtil :: getSocketFd](https://www.php.net/manual/en/eventutil.getsocketfd.php)—返回套接字或流的數字文件描述符
* [EventUtil :: getSocketName](https://www.php.net/manual/en/eventutil.getsocketname.php)—獲取套接字綁定到的當前地址
* [EventUtil :: setSocketOption](https://www.php.net/manual/en/eventutil.setsocketoption.php)—設置套接字選項
* [EventUtil :: sslRandPoll](https://www.php.net/manual/en/eventutil.sslrandpoll.php)—通過OpenSSL的RAND\_poll()生成熵
- php更新內容
- PHP PSR 標準規范
- 輔助查詢(*)
- composer項目的創建
- composer安裝及設置
- composer自動加載講解
- phpsdudy的composer操作
- git
- Git代碼同時上傳到GitHub和Gitee(碼云)
- Git - 多人協同開發利器,團隊協作流程規范與注意事項
- 刪除遠程倉庫的文件
- github查詢方法
- 錯誤
- 其他
- php.ini
- php配置可修改范圍
- php超時
- 防跨目錄設置
- 函數可變參數
- 【時間】操作
- 時間函數例子
- Date/Time 函數(不包含別名函數)
- DateTime類別名函數
- 【數字】操作
- 【字符串】操作
- 【數組】操作
- 排序
- 合并案例
- empty、isset、is_null
- echo 輸出bool值
- if真假情況
- 流程控制代替語法【if (條件): endif;】
- 三元運算
- 運算符優先級
- 常量
- define與const(php5.3) 類常量
- 遞歸
- 單元測試
- 面向對象
- 對象(object) 與 數組(array) 的轉換
- php網絡相關
- 支持的協議和封裝協議(如http,php://input)
- php://協議
- file://協議
- http(s)://協議
- ftp(s)://協議
- zip://, bzip2://, zlib://協議
- data://協議
- glob://協議
- expect://協議
- phar://
- ssh2
- rar://
- ogg://
- 上下文(Context)選項和參數
- 過濾器
- http請求及模擬登錄
- 常用的header頭部定義匯總
- HTTP響應頭和請求頭信息對照表
- HTTP請求的返回值含義說明
- content-type對照表
- Cache-Control對照
- curl函數
- 防止頁面刷新
- telnet模擬get、post請求
- 三種方式模擬表單發布留言
- 模擬登陸
- 防盜鏈
- php+mysql模擬隊列發送郵件
- socket
- 使用websocket實現php消息實時推送完整示例
- streams
- Stream函數實現websocket
- swoole
- 網絡編程基本概念
- 全局變量域超全局變量
- 超全局變量
- $_ENV :存儲了一些系統的環境變量
- $_COOKIE
- $_SESSION
- $_FILES
- $_SERVER
- 正則
- php正則函數
- 去除文本中的html、xml的標簽
- 特殊符號
- \r\n
- 模式修正符
- 分組
- 斷言(環視?)
- 條件表達式
- 遞歸表達式 (?R)
- 固化分組
- 正則例子
- 提取類文件的公共方法
- 抓取網頁內容
- 匹配中文字符
- 提取sql日志文件
- 框架
- 文件操作
- 自動加載spl_autoload_register
- 文件加載
- 文件的上傳下載
- 常見的mimi類型
- 文件斷點續傳
- 下載文件防盜鏈
- 破解防盜鏈
- 將字節轉為人可讀的單位
- 無限分類
- 短信驗證碼
- 短信寶
- 視頻分段加載
- 隱藏地址
- MPEG DASH視頻分片技術
- phpDoc注釋
- @錯誤抑制符
- 字符編碼
- PHP CLI模式開發
- CGI、FastCGI和PHP-FPM關系圖解
- No input file specified的解決方法
- SAPI(PHP常見的四種運行模式)
- assert斷言
- 輪詢(Event Loop)
- 異常處理
- 異常分類
- php系統異常
- 錯誤級別
- set_error_handler
- set_exception_handler
- register_shutdown_function
- try catch
- tp5異常處理類解析
- 文件上傳相關設置
- 進程/線程/協程
- 協程
- 什么是協程
- 引用&
- Heredoc和Nowdoc語法
- 類基礎
- 系統預定義類
- pdo
- 類的三大特性:封裝,繼承,多態
- 魔術方法
- extends繼承
- abstract 抽象類
- interface 接口(需要implements實現)
- 抽象類和接口的區別
- 多態
- static
- final
- serialize與unserialize
- instanceof 判斷后代子類
- 類型約束
- clone克隆
- ::的用法
- static::class、self::class
- new self()與new static()
- this、self、static、parent、super
- self、static、parent:后期靜態綁定
- PHP的靜態變量
- php導入
- trait
- 動態調用類方法
- 參數及類型申明
- 方法的重載覆蓋
- return $a && $b
- 類型聲明
- 設計思想
- 依賴注入與依賴倒置
- MVC模式與模板引擎
- 模版引擎
- smarty模版
- 系統變量、全局變量
- 語言切換
- 函數-給函數默認值
- 流程控制-遍歷
- 模版加載
- 模版繼承
- blade
- twig
- Plates
- 創建型模式(創建類對象)--單原二廠建
- (*)單例模式(保證一個類僅有一個實例)
- (*)工廠模式(自動實例化想要的類)
- 原型模式(在指定方法里克隆this)
- 創建者模式(建造者類組裝近似類屬性)
- 結構型模式 --橋(幫)組享外帶裝適
- 適配器模式(Adapter 用于接口兼容)
- 橋接模式(方法相同的不同類之間的快速切換)
- 裝飾模式(動態增加類對象的功能 如游戲角色的裝備)
- 組合模式(用于生成類似DOMDocument這種節點類)
- 外觀模式(門面(Facade)模式 不同類的統一調用)
- 享元模式
- 代理模式
- 行為型模式--觀摩職命狀-備爹在房中潔廁
- (*)觀察者模式
- (*)迭代器模式(Iterator)
- 模板方法模式 Template
- 命令模式(Command)
- 中介者模式(Mediator)
- 狀態模式(State)
- 職責鏈模式 (Chainof Responsibility)
- 策略模式(Strategy)
- 已知模式-備忘錄模式(Memento)
- 深度模式-解釋器模式(Interpreter)
- 深度模式-訪問者模式(Visitor)
- (*)注冊樹(注射器、注冊表)模式
- PHP擴展庫列表
- 函數參考
- 影響 PHP 行為的擴展
- APC擴展(過時)
- APCu擴展
- APD擴展(過時)
- bcompiler擴展(過時)
- BLENC擴展 (代碼加密 實驗型)
- Componere擴展(7.1+)
- Componere\Definition
- Componere\Patch
- Componere \ Method
- Componere\Value
- Componere函數
- 錯誤處理擴展(PHP 核心)
- FFI擴展
- 基本FFI用法
- FFI api
- htscanner擴展
- inclued擴展
- Memtrack擴展
- OPcache擴展(5.5.0內部集成)
- Output Control擴展(核心)
- PHP Options/Info擴展(核心)
- 選項、 信息函數
- phpdbg擴展(5.6+內部集成)
- runkit擴展
- runkit7擴展
- scream擴展
- uopz擴展
- Weakref擴展
- WeakRef
- WeakMap
- WinCache擴展
- Xhprof擴展
- Yac(7.0+)
- 音頻格式操作
- ID3
- KTaglib
- oggvorbis
- OpenAL
- 身份認證服務
- KADM5
- Radius
- 針對命令行的擴展
- Ncurses(暫無人維護)
- Newt(暫無人維護)
- Readline
- 壓縮與歸檔擴展
- Bzip2
- LZF
- Phar
- Rar
- Zip
- Zlib
- 信用卡處理
- 加密擴展
- Crack(停止維護)
- CSPRNG(核心)
- Hash擴展(4.2內置默認開啟、7.4核心)
- Mcrypt(7.2移除)
- Mhash(過時)
- OpenSSL(*)
- 密碼散列算法(核心)
- Sodium(+)
- 數據庫擴展
- 數據庫抽象層
- DBA
- dbx
- ODBC
- PDO(*)
- 針對各數據庫系統對應的擴展
- CUBRID
- DB++(實驗性)
- dBase
- filePro
- Firebird/InterBase
- FrontBase
- IBM DB2
- Informix
- Ingres
- MaxDB
- Mongo(MongoDB老版本)
- MongoDB
- mSQL
- Mssql
- MySQL
- OCI8(Oracle OCI8)
- Paradox
- PostgreSQL
- SQLite
- SQLite3
- SQLSRV(SQL Server)
- Sybase
- tokyo_tyrant
- 日期與時間相關擴展
- Calendar
- 日期/時間(核心)
- HRTime(*)
- 文件系統相關擴展
- Direct IO
- 目錄(核心)
- Fileinfo(內置)
- 文件系統(核心)
- Inotify
- Mimetype(過時)
- Phdfs
- Proctitle
- xattr
- xdiff
- 國際化與字符編碼支持
- Enchant
- FriBiDi
- Gender
- Gettext
- iconv(內置默認開啟)
- intl
- 多字節字符串(mbstring)
- Pspell
- Recode(將要過時)
- 圖像生成和處理
- Cairo
- Exif
- GD(內置)
- Gmagick
- ImageMagick
- 郵件相關擴展
- Cyrus
- IMAP
- Mail(核心)
- Mailparse
- vpopmail(實驗性 )
- 數學擴展
- BC Math
- GMP
- Lapack
- Math(核心)
- Statistics
- Trader
- 非文本內容的 MIME 輸出
- FDF
- GnuPG
- haru(實驗性)
- Ming(實驗性)
- wkhtmltox(*)
- PS
- RPM Reader(停止維護)
- RpmInfo
- XLSWriter Excel操作(*)
- php第三方庫非擴展
- 進程控制擴展
- Eio
- Ev
- Expect
- Libevent
- PCNTL
- POSIX
- 程序執行擴展(核心)
- parallel
- pthreads(*)
- pht
- Semaphore
- Shared Memory
- Sync
- 其它基本擴展
- FANN
- GeoIP(*)
- JSON(內置)
- Judy
- Lua
- LuaSandbox
- Misc(核心)
- Parsekit
- SeasLog(-)
- SPL(核心)
- SPL Types(實驗性)
- Streams(核心)
- stream_wrapper_register
- stream_register_wrapper(同上別名)
- stream_context_create
- stream_socket_client
- stream_socket_server
- stream_socket_accept
- stream_socket_recvfrom
- stream_socket_sendto
- Swoole(*)
- Tidy擴展
- Tokenizer
- URLs(核心)
- V8js(*)
- Yaml
- Yaf
- Yaconf(核心)
- Taint(檢測xss字符串等)
- Data Structures
- Igbinary(7.0+)
- 其它服務
- 網絡(核心)
- Sockets
- socket_create
- socket_bind(服務端即用于監聽的套接字)
- socket_listen(服務端)
- socket_accept(服務端)
- socket_connect(客戶端)
- socket_read
- socket_recv(類似socket_read)
- socket_write
- socket_send
- socket_close
- socket_select
- socket_getpeername
- socket_getsockname
- socket_get_option
- socket_getopt(socket_get_option的別名)
- socket_set_option
- socket_setopt( socket_set_option的別名)
- socket_recvfrom
- socket_sendto
- socket_addrinfo_bind
- socket_addrinfo_connect
- socket_addrinfo_explain
- socket_addrinfo_lookup
- socket_clear_error
- socket_last_error
- socket_strerror
- socket_cmsg_space
- socket_create_listen
- socket_create_pair
- socket_export_stream
- socket_import_stream
- socket_recvmsg
- socket_sendmsg
- socket_set_block
- socket_set_nonblock
- socket_shutdown
- socket_wsaprotocol_info_export
- socket_wsaprotocol_info_import
- socket_wsaprotocol_info_release
- cURL(*)
- curl_setopt
- Event(*)
- chdb
- FAM
- FTP
- Gearman
- Gopher
- Gupnp
- Hyperwave API(過時)
- LDAP(+)
- Memcache
- Memcached(+)
- mqseries
- RRD
- SAM
- ScoutAPM
- SNMP
- SSH2
- Stomp
- SVM
- SVN(試驗性的)
- TCP擴展
- Varnish
- YAZ
- YP/NIS
- 0MQ(ZeroMQ、ZMQ)消息系統
- 0mq例子
- ZooKeeper
- 搜索引擎擴展
- mnoGoSearch
- Solr
- Sphinx
- Swish(實驗性)
- 針對服務器的擴展
- Apache
- FastCGI 進程管理器
- IIS
- NSAPI
- Session 擴展
- Msession
- Sessions
- Session PgSQL
- 文本處理
- BBCode
- CommonMark(markdown解析)
- cmark函數
- cmark類
- Parser
- CQL
- IVisitor接口
- Node基類與接口
- Document
- Heading(#)
- Paragraph
- BlockQuote
- BulletList
- OrderedList
- Item
- Text
- Strong
- Emphasis
- ThematicBreak
- SoftBreak
- LineBreak
- Code
- CodeBlock
- HTMLBlock
- HTMLInline
- Image
- Link
- CustomBlock
- CustomInline
- Parle
- 類函數
- PCRE( 核心)
- POSIX Regex
- ssdeep
- 字符串(核心)
- 變量與類型相關擴展
- 數組(核心)
- 類/對象(核心)
- Classkit(未維護)
- Ctype
- Filter擴展
- 過濾器函數
- 函數處理(核心)
- quickhash擴展
- 反射擴展(核心)
- Variable handling(核心)
- Web 服務
- OAuth
- api
- 例子:
- SCA(實驗性)
- SOAP
- Yar
- XML-RPC(實驗性)
- Windows 專用擴展
- COM
- 額外補充:Wscript
- win32service
- win32ps(停止更新且被移除)
- XML 操作(也可以是html)
- libxml(內置 默認開啟)
- DOM(內置,默認開啟)
- xml介紹
- 擴展類與函數
- DOMNode
- DOMDocument(最重要)
- DOMAttr
- DOMCharacterData
- DOMText(文本節點)
- DOMCdataSection
- DOMComment(節點注釋)
- DOMDocumentFragment
- DOMDocumentType
- DOMElement
- DOMEntity
- DOMEntityReference
- DOMNotation
- DOMProcessingInstruction
- DOMXPath
- DOMException
- DOMImplementation
- DOMNamedNodeMap
- DOMNodeList
- SimpleXML(內置,5.12+默認開啟)
- XMLReader(5.1+內置默認開啟 用于處理大型XML文檔)
- XMLWriter(5.1+內置默認開啟 處理大型XML文檔)
- SDO(停止維護)
- SDO-DAS-Relational(試驗性的)
- SDO DAS XML
- WDDX
- XMLDiff
- XML 解析器(Expat 解析器 默認開啟)
- XSL(內置)
- 圖形用戶界面(GUI) 擴展
- UI
- PHP SPL(PHP 標準庫)
- 數據結構
- SplDoublyLinkedList(雙向鏈表)
- SplStack(棧 先進后出)
- SplQueue(隊列)
- SplHeap(堆)
- SplMaxHeap(最大堆)
- SplMinHeap(最小堆)
- SplPriorityQueue(堆之優先隊列)
- SplFixedArray(陣列【數組】)
- SplObjectStorage(映射【對象存儲】)
- 迭代器
- ArrayIterator
- RecursiveArrayIterator(支持遞歸)
- DirectoryIterator類
- FilesystemIterator
- GlobIterator
- RecursiveDirectoryIterator
- EmptyIterator
- IteratorIterator
- AppendIterator
- CachingIterator
- RecursiveCachingIterator
- FilterIterator(遍歷并過濾出不想要的值)
- CallbackFilterIterator
- RecursiveCallbackFilterIterator
- RecursiveFilterIterator
- ParentIterator
- RegexIterator
- RecursiveRegexIterator
- InfiniteIterator
- LimitIterator
- NoRewindIterator
- MultipleIterator
- RecursiveIteratorIterator
- RecursiveTreeIterator
- 文件處理
- SplFileInfo
- SplFileObject
- SplTempFileObject
- 接口 interface
- Countable
- OuterIterator
- RecursiveIterator
- SeekableIterator
- 異常
- 各種類及接口
- SplSubject
- SplObserver
- ArrayObject(將數組作為對象操作)
- SPL 函數
- 預定義接口
- Traversable(遍歷)接口
- Iterator(迭代器)接口
- IteratorAggregate(聚合式迭代器)接口
- ArrayAccess(數組式訪問)接口
- Serializable 序列化接口
- JsonSerializable
- Closure 匿名函數(閉包)類
- Generator生成器類
- 生成器(php5.5+)
- yield
- 反射
- 一、反射(reflection)類
- 二、Reflector 接口
- ReflectionClass 類報告了一個類的有關信息。
- ReflectionObject 類報告了一個對象(object)的相關信息。
- ReflectionFunctionAbstract
- ReflectionMethod 類報告了一個方法的有關信息
- ReflectionFunction 類報告了一個函數的有關信息。
- ReflectionParameter 獲取函數或方法參數的相關信息
- ReflectionProperty 類報告了類的屬性的相關信息。
- ReflectionClassConstant類報告有關類常量的信息。
- ReflectionZendExtension 類返回Zend擴展相關信息
- ReflectionExtension 報告了一個擴展(extension)的有關信息。
- 三、ReflectionGenerator類用于獲取生成器的信息
- 四、ReflectionType 類用于獲取函數、類方法的參數或者返回值的類型。
- 五、反射的應用場景
- phpRedis
- API
- API詳細
- redis DB 概念:
- 通用命令:rawCommand
- Connection
- Server
- List
- Set
- Zset
- Hash
- string
- Keys
- 事物
- 發布訂閱
- 流streams
- Geocoding 地理位置
- lua腳本
- Introspection 自我檢測
- biMap
- 原生
- php-redis 操作類 封裝
- redis 隊列解決秒殺解決超賣:
- swoole+框架筆記
- 安裝及常用Cli操作
- TCP
- 4種回調函數的寫法
- easyswoole
- 目錄結構
- 配置文件
- Linux+Nginx
- 前置
- linux
- 開源網站鏡像及修改yum源
- 下載linux
- Liunx中安裝PHP7.4 的三種方法(Centos8)
- yum安裝
- 源碼編譯安裝
- LNMP一鍵安裝
- 查看linux版本號
- 設置全局環境變量
- 查看php.ini必須存放的位置
- 防火墻與端口開放
- nohup 后臺運行命令
- linux 查看nginx,php-fpm運行用戶及用戶組
- 網絡配置
- CentOS中執行yum update時報錯
- 關閉防火墻
- 查看端口是否被占用
- 查看文件夾大小
- nginx相關
- 一個典型的nginx配置
- nginx關于多個項目的配置(易于管理)
- nginx.config配置文件的結構
- 1、events
- 2、http
- nginx的location配置詳解
- Nginx相關命令
- Nginx安裝
- 配置偽靜態
- 為靜態配置例子
- apache
- nginx
- pathinfo模式
- Shell腳本
- bash
- shell 語言中 0 代表 true,0 以外的值代表 false。
- 變量
- shell字符串
- shell數組
- shell注釋
- 向Shell腳內傳遞參數
- 運算符
- 顯示命令執行結果
- printf
- test 命令
- 流程控制與循環
- if
- case
- for
- while
- until
- break和continue
- select 結構
- shell函數
- shell函數的全局變量和局部變量
- 將shell輸出寫入文件中(輸出重定向)
- Shell腳本中調用另一個Shell腳本的三種方式
- 定時任務
- PHP實現定時任務的五種方法
- 優化
- ab壓力測試
- 緩存
- opcache
- memcache
- php操作
- 數據庫
- 配置
- 數據庫鎖機制
- 主從分布
- 數據庫設計
- 邏輯設計
- 物理設計
- 字段類型的選擇
- 筆記
- SET FOREIGN_KEY_CHECKS
- 字符集與亂碼
- SQL插入 去除重復記錄的實現
- 分區表
- nginx 主從配置
- nginx 負載均衡的配置
- 手動搭建Redis集群和MySQL主從同步(非Docker)
- Redis Cluster集群
- mysql主從同步
- 用安卓手機搭建 web 服務器
- 軟件選擇
- url重寫
- 大流量高并發解決方案
- 權限設計
- ACL
- RBAC
- RBAC0
- RBAC1(角色上下級分層)
- RBAC2(用戶角色限約束)
- RBAC3
- 例子
- Rbac.class.php
- Rbac2
- Auth.class.php
- fastadmin Auth
- tree1
- ABAC 基于屬性的訪問控制
- 總結:SAAS后臺權限設計案例分析
- casbin-權限管理框架
- 開始使用
- casbinAPI
- casbin管理API
- RBAC API
- Think-Casbin
- 單點登錄(SSO)
- OAuth授權
- OAuth 2.0 的四種方式
- 授權碼
- 隱藏式
- 密碼式
- 憑證式
- 更新令牌
- 例子:第三方登錄
- 微服務架構下的統一身份認證和授權
- 代碼審計
- 漏洞挖掘的思路
- 命令注入
- 代碼注入
- XSS 反射型漏洞
- XSS 存儲型漏洞
- xss過濾
- HTML Purifier文檔
- 開始
- id規則
- class規則
- 過濾分類
- Attr
- AutoFormat
- CSS
- Cache
- Core
- Filter
- html
- Output
- Test
- URI
- 其他
- 嵌入YouTube視頻
- 加快HTML凈化器的速度
- 字符集
- 定制
- Tidy
- URI過濾器
- 在線測試
- xss例子
- 本地包含與遠程包含
- sql注入
- 函數
- 注釋
- 步驟
- information_schema
- sql注入的分類
- 實戰
- 防御
- CSRF 跨站請求偽造
- 計動態函數執行與匿名函數執行
- unserialize反序列化漏洞
- 覆蓋變量漏洞
- 文件管理漏洞
- 文件上傳漏洞
- 跳過登錄
- URL編碼對照表
- XXE
- 前端、移動端
- html5
- meta標簽
- flex布局
- javascript
- jquery
- 選擇器
- 精細分類
- 事件
- on事件無效:
- jquery自定義事件
- 表單操作
- 通用
- select
- checkbox
- radio
- js正則相關
- js中判斷某字符串含有某字符出現的次數
- js匹配指定字符
- $.getjson方法配合在url上傳遞callback=?參數,實現跨域
- pajax入門
- jquery的extend插件制作
- jquery的兼容
- jquery的連續調用:
- $ 和 jQuery 及 $() 的區別
- 頁面響應順序及$(function(){})等使用
- 匿名函數:
- ajax
- 獲取js對象所有方法
- dom加載
- ES6函數寫法
- ES6中如何導入和導出模塊
- 數組的 交集 差集 補集 并集
- phantomjs
- js數組的map()方法操作json數組
- 實用函數
- js精確計算CalcEval 【價格計算】 浮點計算
- js精確計算2
- js數組與對象的遍歷
- bootstrap
- class速查
- 常見data屬性
- data-toggle與data-target的作用
- 組件
- bootstrapTable
- 表選項
- 表選項2
- 示例
- 數據格式(json)
- 用法(row:行,column:列)
- Bootstrap-table使用footerFormatter做統計列功能
- 示例2
- JQuery-Jquery的TreeGrid插件
- 服務器端分頁
- 合并單元格1
- 合并單元格2
- 合并單元格3
- 合并單元格4
- 合并單元格5(插件)
- 列求和
- 添加行,修改行、擴展行數據
- 擴展
- 開源項目
- PhpSpreadsheet
- 實例
- 會員 數據庫表設計
- 程序執行
- 開發總結
- API接口
- API接口設計
- json轉化
- app接口
- 雜項
- 三方插件庫
- 檢測移動設備(包括平板電腦)
- curl封裝
- Websocket
- 與谷歌瀏覽器交互
- Crontab管理器
- 實用小函數
- PHP操作Excel
- SSL證書
- sublime Emmet的快捷語法
- 免費翻譯接口
- 接口封裝
- 免費空間
- 架構師必須知道的26項PHP安全實踐
- 大佬博客
- 個人支付平臺
- RPC(遠程調用)及框架