Library that implements deprecated PHP features using current PHP version