php/doc-en
Improve example about static variables in functions
Aberta
#2.671 aberto em 10 de ago. de 2023
QAgood first issue
Métricas do repositório
- Stars
- (596 estrelas)
- Métricas de merge de PR
- (Mesclagem média 99d 23h) (90 fundiu PRs em 30d)
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