php5.5 compat issues