php/doc-en

Improve example about static variables in functions

オープン

#2,671 opened on 2023/08/10

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)XML (882 件のフォーク)auto 404
QAgood first issue

Repository metrics

Stars
 (596 個のスター)
PR merge metrics
 (平均マージ 99d 23h) (30d で 90 merged PRs)

説明

          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

コントリビューターガイド