Hi, for what I am doing I thought the best way to do it would be to make a recurssive function...but I am not sure if functions works the way that I think they do in php. They are only executed when called right?
I know in java you do like:
public String test(String j){
return j;
}
What is the protocol do this in php?
make a function that returns a String...The thing that really confused me with php at first was that you dont like say String/int float infront of your variables...so would I just merely put:
<?php function totest($text){
return $text;
}
thanks!