I\'m pretty proficient in PHP, but I\'ve started dabbling with C. I\'ve seen the code
return 0;
at the end of functions that don\'t return
Functions in C return int by default, if no other return type is defined. return 0 would be good practice to make sure the function returns a known value, as opposed to some random value, in case the caller is looking at the return value.