Meaning of Event in php
问题 I know php and nodejs too,in javascript we have asynchronize programming ,so I understand meaning of event in it.but I saw Event in Yii and Zend 2 and use them too,but I can't understand the meaning of it,how it works in php and what exactly does in it? 回答1: First of all, there are no events in PHP An event is an abstraction for callback functions with their name. Typically, we'd define them as $eventName => $listener , where $listener is a callback function for the $eventName What is the