function for checking disabled php functions