I have a function like this
function test()
{
include("test.php");
}
echo test();
test.php
<?php
//echo 'test1';
return 'test2';
?>
echo 'test1' works but return 'test2' not works.
for me return nothing.
I have a function like this
function test()
{
include("test.php");
}
echo test();
test.php
<?php
//echo 'test1';
return 'test2';
?>
echo 'test1' works but return 'test2' not works.
for me return nothing.