add support to PHP 5.6.0 beta1