note 125523 added to language.basic-syntax.comments
| From: | Anonymous@php.net | Date: | Thu, 19 Nov 2020 04:42:35 +0000 |
| Subject: | note 125523 added to language.basic-syntax.comments | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-215864@lists.php.net to get a copy of this message | ||
Please note that block comments are not the same as PHPDoc. Therefore, it is important to double
check your code because PHP documentation generators cannot detect block comments as PHPDoc.
Example:
<?php
class Foo {
/**
* This is a PHPDoc, it will be detected by PHP documentation generators
*
* @var bool $bar
*/
public $bar = true;
/*
* This is a block comment, it will not be detected by PHP documentation generators
*
* @var array $baz
*/
public $baz = [];
}
?>
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.174 (proxied: 36.80.0.206)
----
Manual Page -- http://php.net/manual/en/language.basic-syntax.comments.php
Edit -- https://master.php.net/note/edit/125523
Del: integrated -- https://master.php.net/note/delete/125523/integrated
Del: useless -- https://master.php.net/note/delete/125523/useless
Del: bad code -- https://master.php.net/note/delete/125523/bad+code
Del: spam -- https://master.php.net/note/delete/125523/spam
Del: non-english -- https://master.php.net/note/delete/125523/non-english
Del: in docs -- https://master.php.net/note/delete/125523/in+docs
Del: other reasons-- https://master.php.net/note/delete/125523
Reject -- https://master.php.net/note/reject/125523
Search -- https://master.php.net/manage/user-notes.php