register_activation_hook and similar - why pass in an array as second argument instead of '$foo->activate'?
I thought in PHP you access non-static class methods by instantiating the class and then using arrow syntax like in the title to (quite literally) point to the method. Yet the WordPress developer docs here say different, to make an array instead: register_activation_hook( FILE, array( 'MyPlugin', 'i...