Php 'use' statement returns unexpected token

Hi,

Scriptcase doesn’t seem to let you use the ‘use’ keyword in forms / blank applications. When I try to use it I get an error message of unexpected token ‘use’. Using the fully qualified namespace of course works but this is a real pain with the number of constants and functions and classes being used. Code becomes illegible.

Is there a way to make the ‘use’ statement work?

thanks,
Arthur

Hi,

Take a look at this post.

Hope this helps.