Zum Inhalt der Seite gehen

This line can be solved easily. Additionally it should be replaced with the new function that I created for Diaspora. That function generates XML data from arrays with simplexml.
OK I reduced the error messages to
PHP Parse error:  syntax error, unexpected '[' in /home/rabuzarus/NetBeansProjects/friendica/include/api.php on line 694

according to http://stackoverflow.com/questions/18050071/php-parse-syntax-errors-and-how-to-solve-them/29505827#29505827 the php version gives the issue.
So I updated php von my laptop from 5.3 to 5.5. Now everything works as expected.

@Tobias
Maybe the minimal requirement of php 5.2 seems not be valid anymore. We should check this before the releasing the new version.
I have not really a preference for any versions of PHP ;-) but it should be working on old-old-stable, as hosters rarely upgrade their servers :-P