Fixed incompatibility bug with 5.4 PHP.