Hello friends,
I want to know what is different about these codes and also which one is the best I should use.
Thanks for helping.
1st
PHP Code:
public plugin_init() {
register_plugin("Plugin", "1.0", "PurposeLess");
}
2nd
PHP Code:
#define PLUGIN "Plugin"
#define VERSION "1.0"
#define AUTHOR "PurposeLess"
3rd
PHP Code:
new const PLUGIN[] = "Plugin";
new const VERSION[] = "1.0";
new const AUTHOR[] = "PurposeLess";
__________________