better error-handling

I have taken a look in the error log and saw that there are some problem with the functions that except arrays. Most of the problems are not proper formatted array()-code. When such a unproper formatted code was executed, the whole script stops and you do not see, that anything is working.

Now the code to execute is parsed before it is executed. You will see the error message PHP is generating.