PHP has a function_exists function that accepts a string as an argument.
Jul 19, 2018
6
Level 1
Check if function exists
Hello.. i want create function width 1 parameter wil be the name of the file example:
function a(test.php){
//Check if function translate exists in file test.php
}
i want to check if passed file if a function "translate " was being called
Please or to participate in this conversation.