when we include or require another php file in to our current php file,will the functions of that php file executed automatically?.if not what can i do to get executed them automatically.
No functions are ever executed automatically. They will be defined automatically, yes, so that you can use them in our current file, e.g.
require 'functions.php'; func1(); func2(); func2();