Revert to php