You're looking for a call that's similar to the commandline call
svn info URL
It seems that this is possible using the pysvn library, and there's a recipe that should help you get started. I'm not sure if there's something similar for phpPHP.
If you need to resort to calling the svnSVN binary yourself, make sure to use the --xml--xml
parameter to get the result as xml, thatXML. That should be easier to parse than the commandline output.