Tag: exec

Validate terminal command in PHP

Testing if a function exists in PHP¬†is easy. Testing if a command exists on the system is also easy. I’ve never really run into the problem of having to create a compatibility suite script to make sure my PHP script will run without trouble. Simple things like checking the version of PHP installed or the […]