php/doc-en

Improve example about static variables in functions

Ouverte

#2 671 ouverte le 10 août 2023

 (0 commentaire) (0 réaction) (0 personne assignée)XML (882 forks)auto 404
QAgood first issue

Métriques du dépôt

Stars
 (596 étoiles)
Métriques de merge PR
 (Merge moyen 99j 23h) (90 PRs mergées en 30 j)

Description

          This statement _is_ needed to reset the value when doing a follow-up call to ``test()``, it would be better to add a coment, or create another without the statement and have it call ``test()`` twice. In any case showing the output of this code would be a good enhancement

Originally posted by @Girgias in https://github.com/php/doc-en/issues/2667#issuecomment-1671328176

Guide contributeur