|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-12-26 22:39 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Mar 28 01:00:02 2026 UTC |
class Example {} trait example {} interface Example {} etc.. why not.. function example {}