|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-01-15 14:31 UTC] danack@php.net
-Status: Open
+Status: Not a bug
-Package: Feature/Change Request
+Package: *General Issues
[2016-01-15 14:31 UTC] danack@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 05:00:01 2025 UTC |
Description: ------------ I find the alternative syntax for control structures quite useful and use them exclusively in all my code. My only wish is that they become available for all similar structures. Obvious ones which come to mind are Function and Class. It has been said that: "The 'endif;' stuff is old legacy syntax and is definitely not the recommended way of doing things." It seems to me that the "{...}" form goes a ways back as well. Is the alternative syntax really frowned upon? What kind of trouble might be caused by it's use? Thanks, Richard