Req #70222 [Fbk->NoF]: Alias of function as func
| From: | php-bugs at lists dot php dot net | Date: | Sun, 23 Aug 2015 04:22:39 +0000 |
| Subject: | Req #70222 [Fbk->NoF]: Alias of function as func | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-195432@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70222&edit=1
ID: 70222
Updated by: php-bugs@lists.php.net
Reported by: tux at vmail dot me
Summary: Alias of function as func
-Status: Feedback
+Status: No Feedback
Type: Feature/Change Request
Package: Scripting Engine problem
Operating System: Linux
PHP Version: Irrelevant
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2015-08-09 21:58:09] requinix@php.net
Why? What are the tangible benefits to doing this, besides saving four keystrokes? What problem does
it solve? What will happen to the people who already use "func" for names?
------------------------------------------------------------------------
[2015-08-09 17:15:42] tux at vmail dot me
Description:
------------
Can we please have alias of "function" as "func". Note this request is NOT to
replace "function" word, but to allow also to use alias of it as in "func".
Function Name Now:
function test($str) { return trim($str); }
Function Name Wanted:
func test($str) { return trim($str); }
Test script:
---------------
n/a
Expected result:
----------------
n/a
Actual result:
--------------
n/a
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70222&edit=1