CRM-13178 - Corrected warnings for php 5.4