Doc #81547 [NEW]: print documentation section Documentation is contradictory
| From: | ddpm at liscovius dot de | Date: | Wed, 20 Oct 2021 19:03:35 +0000 |
| Subject: | Doc #81547 [NEW]: print documentation section Documentation is contradictory | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-19287@lists.php.net to get a copy of this message | ||
From: ddpm at liscovius dot de
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:print documentation section Documentation is contradictory
Description:
------------
Synopsis on https://www.php.net/manual/en/function.print.php
shows:
print(string $expression): int
But the description text says:
"print is not a function but a language construct. Its argument is the
expression following the print keyword, and is not delimited by
parentheses."
I see that the problem lies in the way the documentation is built. How
should the synopsis be for such **language construct**?
Expected result:
----------------
I do not know (yet).
Actual result:
--------------
print(string $expression): int
--
Edit bug report at https://bugs.php.net/bug.php?id=81547&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81547&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81547&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81547&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81547&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81547&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81547&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81547&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81547&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81547&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81547&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81547&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81547&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81547&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81547&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81547&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81547&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81547&r=mysqlcfg