Upgraded for pecl-event 1.2.4