How to check predefined functions in PHP


if(function_exists('sha512'))
{
echo 'exitsts';
}
else
{
echo 'no';
}


Comments