void
     PHP_CompatInfo_Parser::addListener
     ( 
    
     mixed
     $callback
    
     , 
     string
     $nName
      = EVENT_DISPATCHER_GLOBAL
    
   )
Registers a new listener with the given criteria.
$callback
     A PHP callback
$nName
     (optional) Expected notification name
returns void
throws no exceptions thrown
since version 1.8.0b2 (2008-06-03)
This function can not be called statically.
see PHP_CompatInfo::addListener() example