It does not happen often, but sometime when editing my PHP files I break my website which uses php because I installed a mod wrong, or edit the wrong part of the php file.
Thankfully, I backed up a copy of my PHP files to a separate folder before I edit the php file. But, I can usually find the files online or just reupload the one broken file with a non-broken and I be fine.