How to create & call global PHP functions in CodeIgniter

We occasionally need some common global functions during our development. In core PHP, we can create a file, say functions.php (don’t confuse it with wordpress functions.php). We can include this file in any other file to access its functions. But, CodeIgniter is a MVC framework and it follows Object-oriented programming. …