fix PHP 5.3 issue in import module

fixes #227
:shipit: release 1.8.12