I have a nested recursive function which throws :
Fatal error: Cannot redeclare rec();
function persistence(int $num): int {