Thread:Project:Support desk/Parse error when running a script trough terminal

Hello, this is me again, I am writing because I am still struggling with running maintenance scripts. I am working on MediaWiki 1.24.2, PhP 5.3.8, and MySqQL 5.5.21. After having been assaulted by SPAM in the past days, I am trying to clear a huge list of bots by using deleteArchivedRevisions and removeUnusedAccounts. I've been trying to do this both from web broswer (with the extensions Maintenance) and from terminal. However, in the former I can just get a list of revisions and accounts to be removed and I can't activate the --delete function (I guess it's normal this way), in the latter I get the mysterious:

parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'} in /home/etc etc/maintenance/removeUnusedAccounts.php on line 34''

I don't have a clue on what it is actually expecting as I don't believe that I should modify that file in the maintenance. Can anybody suggest anything?