Use of persistent globals from load to unload

Greetings, I have a problem im trying to set a global variable which is maintained from extension load to extension unload for a license check. I have found something relevent at http://zephir-lang.com/globals.html but my compiler give me this warning if i try to use the set/getglobal functions Warning: Function "globalset" does not exist at compile time in /root/zephir/license/license/authorise.zep on 9 [nonexistent-function] i have to create a variable type bool which it will hold the license state of the application untill the engine shutdown or someone unload the license module. Thank you in advance.



1.2k

Can you upload code , please ?