Is it possible to include a file that contains a string value (in this case a comma delimited list of values) as an argument to a function?
For example:
include.php
<?php
'value1,value2,value3'
?>
function.php
<?php
function test($string)
{
echo $string;
}
test(include 'include.php');
?>
I've tried this and it doesn't work, but is there a way to do what I am trying?
Thanks!