E_STRICT mode correction (closes #1835) php 5.4