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.

🚀 Scriptcase 9.12 is now available! Check out the new features here 👉🚀 Next Monday (02/24), Scriptcase 9.12 will be released! Check out the new features before anyone else 👉