Is it better to code PHP locally or directly on server?
I have been having this debate with my boss for a long time, now I am having doubts about myself.

We work in a small team, with basically just me as a web developer and another assisting me when I need to do grunt work :P

My boss is trying to make me work on code that is directly on a test server, so he can check up on my progress...
I am insisting on working locally then uploading it when it's more stable, kinda like patches, because I don't want testers (my boss or sometimes even clients themselves) to see errors that are bound to happen while i am coding... and I save *very* frequently so working remotely means slower saves <_< which I find annoying.

So any opinions guys?
Is it better to code PHP locally or directly on server?
===

I have been having this debate with my boss for a long time, now I am having doubts about myself.

We work in a small team, with basically just me as a web developer and another assisting me when I need to do grunt work :P

My boss is trying to make me work on code that is directly on a test server, so he can check up on my progress...
I am insisting on working locally then uploading it when it's more stable, kinda like patches, because I don't want testers (my boss or sometimes even clients themselves) to see errors that are bound to happen while i am coding... and I save *very* frequently so working remotely means slower saves <_< which I find annoying.

So any opinions guys?