Edit report at https://bugs.php.net/bug.php?id=60610&edit=1
ID: 60610
User updated by: valentiny510 at yahoo dot es
Reported by: valentiny510 at yahoo dot es
Summary: Allow functions without Parentheses
Status: Open
Type: Feature/Change Request
Package: *General Issues
Operating System: windows
PHP Version: 5.3.8
Block user comment: N
Private report: N
New Comment:
class Example {}
trait example {}
interface Example {}
etc.. why not..
function example {}
Previous Comments:
------------------------------------------------------------------------
[2011-12-26 22:39:16] valentiny510 at yahoo dot es
Description:
------------
I think will be nice and clean feature to be able to write functions without
arguments with no parentheses like:
function ExampleFunction { /* etc.. */ }
instead of
function ExampleFunction () { /* etc ..*/ }
The parentheses here have no sense in my opinion. Thank you
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60610&edit=1