fix build on php 5.4+
patch provide by: https://bugs.php.net/patch-display.php?bug_id=59912&patch=suhosin-class-destructor-fix&revision=latest