« Programmation PHP/Fonctions » : différence entre les versions
Contenu supprimé Contenu ajouté
Ligne 166 :
Pour passer une fonction en argument d'une autre, il faut utiliser <code>call_user_func()</code>. Ex :
<syntaxhighlight lang="php">
function
{
return call_user_func($
}
</syntaxhighlight>
|