php/doc-en

Improve example about static variables in functions

Aperta

#2671 aperta il 10 ago 2023

 (0 commenti) (0 reazioni) (0 assegnatari)XML (882 fork)auto 404
QAgood first issue

Metriche repository

Star
 (596 stelle)
Metriche merge PR
 (Merge medio 99g 23h) (90 PR mergiate in 30 g)

Descrizione

          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

Guida contributor