0
Php
how to call php function within php function? can it be possible!!?
2 Answers
+ 1
You can set function to public (but it works without) and use inside another. Just be sure to have return inside the function to include.
function foo($value){
return $value;
}
function bar(){
return foo('something');
}
0
thanks victor but function bar() is not called inside foo() right!?