[hot-fix] BC for php 5.3.x