Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 2
Nested functions?
Can we make nested functions (i.e func in func) in PHP as in Python?
1 Réponse
+ 2
<?php
function main_function()
{
function sub_function()
{
return "This is from sub";
}
return sub_function();
}
echo main_function();
?>