php/doc-en

Improve example about static variables in functions

Offen

#2.671 geöffnet am 10.08.2023

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)XML (882 Forks)auto 404
QAgood first issue

Repository-Metriken

Stars
 (596 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 99T 23h) (90 gemergte PRs in 30 T)

Beschreibung

          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

Contributor Guide