So, the PHP returns because otherwise I can't call the function, or can I ? I know the functions are different, that's the question, can I replicate the behavior from js in php ? can I call a function in itself without using the return keyword, because that stop execution and I want the function to continue after the recursive call.