i want to create a php file where all functions are define for my project but i don't want to include that file to every single file of my php project. i want to create all function inside that php file global so can call them in that directory. just like wordpress.
like they define most of function inside wp-include/pluggable.php which included in wp-setting.php and finally that include in wp-config.php file but i am not able to figure it out how they make that function global for theme and plugin without include it.
thanks in advance