patch for most recent pecl-event