Fixing php54 warning