silence strict mode warnings under php 5.3