<?php $funtest = "sql_query"; if(function_exists($funtest)) { echo "$funtest function is enabled"; } else { echo "$funtest is not enabled"; } ?>