Reputation: 119
How do I check programmatically if xdebug is installed so that I can call xdebug_disable()?
xdebug
xdebug_disable()
Upvotes: 1
Views: 1234
Reputation: 8034
Try this:
if(function_exists('xdebug_disable')) { xdebug_disable(); }
Upvotes: 2