note 129745 added to language.variables.scope
| From: | hf18950@gmail.com | Date: | Thu, 12 Sep 2024 12:03:54 +0000 |
| Subject: | note 129745 added to language.variables.scope | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221527@lists.php.net to get a copy of this message | ||
<?php
function test() {
static $a = 0;
echo $a . ' ';
$a++;
}
while (true) {
test();
}
?>
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 217.219.176.246)
----
Manual Page -- https://php.net/manual/en/language.variables.scope.php
Edit -- https://main.php.net/note/edit/129745
Del: integrated -- https://main.php.net/note/delete/129745/integrated
Del: useless -- https://main.php.net/note/delete/129745/useless
Del: bad code -- https://main.php.net/note/delete/129745/bad+code
Del: spam -- https://main.php.net/note/delete/129745/spam
Del: non-english -- https://main.php.net/note/delete/129745/non-english
Del: in docs -- https://main.php.net/note/delete/129745/in+docs
Del: other reasons-- https://main.php.net/note/delete/129745
Reject -- https://main.php.net/note/reject/129745
Search -- https://main.php.net/manage/user-notes.php