General improvements, auto-revert.
Adding php assignment snippet.
Small fixes.