Doc #79303 [NEW]: Short arrow functions are not documented in "Anonymous functions"

From: Date: Mon, 24 Feb 2020 17:00:27 +0000
Subject: Doc #79303 [NEW]: Short arrow functions are not documented in "Anonymous functions"
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17331@lists.php.net to get a copy of this message
From:             tandre
Operating system: 
PHP version:      7.4.3
Package:          Documentation problem
Bug Type:         Documentation Problem
Bug description:Short arrow functions are not documented in "Anonymous functions"

Description:
------------
https://www.php.net/manual/en/functions.anonymous.php
doesn't seem to
document https://wiki.php.net/rfc/arrow_functions_v2#proposal

It was accepted in php 7.4.

I don't see references to the syntax fn(parameter_list) => expr in
that page, or similar issues in bugs.php.net

Expected result:
----------------
Short arrow function syntax is documented on
https://www.php.net/manual/en/functions.anonymous.php
or a page in the
"Functions" section of the language reference


-- 
Edit bug report at https://bugs.php.net/bug.php?id=79303&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=79303&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=79303&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=79303&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=79303&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=79303&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=79303&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=79303&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=79303&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=79303&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=79303&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79303&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=79303&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=79303&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=79303&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=79303&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=79303&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=79303&r=mysqlcfg


Thread (4 messages)

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