Upgrade to PHP-DI 3.5

Hi, here is the pull request, the title is quite explicit about the changes. 

Thanks,

Baptiste