I have fond (?) memories of WebEdit, a code editor with FTP integration, so you could directly edit your PHP4 files on the server. (And no, we didn't have source control.)