Warning the user of disabled functions in PHP