bool
PHP_CompatInfo::removeListener
(
mixed
$callback
,
string
$nName
= EVENT_DISPATCHER_GLOBAL
)
Removes a registered listener that correspond to the given criteria.
$callback
A PHP callback
$nName
(optional) Expected notification name
returns True if listener was removed, false otherwise.
throws no exceptions thrown
since version 1.8.0b3 (2008-06-07)
This function can not be called statically.
see PHP_CompatInfo::addListener() example