90% of the time, when I try to add a new function of some kind to my functions.php I get the white screen of death after saving in the admin. If I paste the exact same code in the exact same place in the functions.php locally, and ftp it to the server, it's fine. I'm sure sometimes I might be making an error, but not every single time.
I was doing a live chat today and we were both in one of my sites - me on a mac, he on a pc, and when I pasted code and saved we got wsod - when he pasted same code, no problem.
Anyone aware of this or experiencing this or have any advice?
My themes are custom themes fyi.