I see no need in developing owncloud in /var/www. I clone all the code to my home directory (e.g. $HOME/dev/owncloud) and tell Apache to serve that folder. I guess this is overall highly user/dev specific.

Because of php has it's own http server embedded meanwhile we should elaborate if that would help to run owncloud for development easier.