i am developing a function which return a value on give file name
but include() in not return able which function should i use get_file_contents() is return able function or is there is any other class or function which return a value of given file
function myfunction($file){
$get = include($file);
return $get;
}
something like this
myfunction('/home/files/test.php');