Minor fix backward compatability of php 5.3.x