drtanz Posted September 3, 2012 Share Posted September 3, 2012 Is it good practice to include a list of functions (in a comment section) at the beginning of a PHP file? Quote Link to comment https://forums.phpfreaks.com/topic/267938-commenting-list-of-functions-in-file/ Share on other sites More sharing options...
matthew9090 Posted September 3, 2012 Share Posted September 3, 2012 You should put the functions in a new php file and include at the top of every page you need them in. This way is more efficient as you save space. Quote Link to comment https://forums.phpfreaks.com/topic/267938-commenting-list-of-functions-in-file/#findComment-1374814 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.