This example demonstrates clean up of a working copy in a directory named help-me:
<?php svn_cleanup(realpath('help-me'));?>
The realpath() call is necessary due to SVN's quirky handling of relative paths.