Update to 9.2.007 Parser Error

On login, I use an internal library in the onApplicationInit which deletes all global variables. After the update to the above version I get the error message when starting the login

Parse error: syntax error, unexpected ‘$ this’ (T_VARIABLE)

If I call the content of the function directly at the onApplicationInit, it works.

I also call this internal library in other applications. So I want to keep this function in the internal library

I ask you to put this right again.

my function calling on onApplicationInit reset_global_CompanySettings();


<?php

function reset_global_CompanySettings()
{
sc_reset_global([global_var1],[global_var2],[global_var3]);
}
?>

if i create a new internal library named reset_CompanySettings (early reset_global_CompanySettings) than works. if i delete the old library and create new with the same name (reset_global_CompanySettings), dosn’t works.

any problems with the name “reset_global_CompanySettings”?

I do not have another explanation!