fixed event listener example
update versions of PHP 5.4 and 5.5 branches (5.4.31RC1 and 5.5.15RC1)