Doc #80635 [NEW]: The link of "use" Keyword in "List of Keywords" needs improvement.

From: Date: Sat, 16 Jan 2021 10:26:18 +0000
Subject: Doc #80635 [NEW]: The link of "use" Keyword in "List of Keywords" needs improvement.
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18407@lists.php.net to get a copy of this message
From: hen20-xmp at yahoo dot co dot jp Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:The link of "use" Keyword in "List of Keywords" needs improvement. Description: ------------ Target Manual page is "List of Keywords" (reserved.keywords.html). First, the link of "use" Keyword should not be to "Namespaces" (language.namespaces.html) : almost meanless, but strictly, to "Using namespaces: Aliasing/Importing" (language.namespaces.importing.html). This "use" is used for (1) importing a Class in a Namespace & aliasing it, (2) importing a Namespace, (3) importing a global Class, (4) importing a function, & aliasing it, (5) importing a constant according to the link page. This "use" Keyword may be accompanied by "(as of PHP 5.3.0)". Second, there would exist ADDITIONAL "use" Keyword in the list. This "use" is used for inheriting variables from the parent scope in closures. This "use" Keyword should link to "Example #3" in "Anonymous functions" (functions.anonymous.html#example-180". Expected result: ---------------- (See Description) Actual result: -------------- (See Description) -- Edit bug report at https://bugs.php.net/bug.php?id=80635&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80635&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80635&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80635&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80635&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80635&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80635&r=support Expected behavior: https://bugs.php.net/fix.php?id=80635&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80635&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80635&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80635&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80635&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80635&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80635&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80635&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80635&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80635&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80635&r=mysqlcfg

« previous php.doc.bugs (#18407) next »