Hall of Famer Posted September 26, 2013 Share Posted September 26, 2013 Thoughts? https://wiki.php.net/rfc/anonymous_classes Quote Link to comment https://forums.phpfreaks.com/topic/282450-anonymous-class-rfc-is-under-discussion-now/ Share on other sites More sharing options...
trq Posted September 26, 2013 Share Posted September 26, 2013 No opinions really. It might be a nice to have in some specific scenario, but whatever... If this passes I will be angry. Far more useful RFC have been getting knocked on the head of late. Quote Link to comment https://forums.phpfreaks.com/topic/282450-anonymous-class-rfc-is-under-discussion-now/#findComment-1451255 Share on other sites More sharing options...
requinix Posted September 26, 2013 Share Posted September 26, 2013 (edited) Meh. I've never needed anonymous classes. More interested in variadics and unpacking (though I'm not a fan of a couple of the choices made) and keywords as identifiers. There's also talk of automatically session_regenerate_id()ing on IP address change (no RFC for it) and I definitely don't like that. Edited September 26, 2013 by requinix Quote Link to comment https://forums.phpfreaks.com/topic/282450-anonymous-class-rfc-is-under-discussion-now/#findComment-1451258 Share on other sites More sharing options...
Hall of Famer Posted September 26, 2013 Author Share Posted September 26, 2013 I actually like the extended keyword support a lot, its not for me to decide which feature gets past the voting phase though. Varadics have already made it to PHP 5.6, so its not really an issue here. Come to think about that, it seems that C# accessor methods gets rejected despite more than 60% of the voters said yes(it needs to make 2/3 or more). I doubt if this means that this idea is dropped forever, or that the RFC creator can still make a comeback by making some major/minor modifications of the initial proposal. I personally like to see accessor methods implemented in PHP, but life is not much tougher without it so I can live with that. Quote Link to comment https://forums.phpfreaks.com/topic/282450-anonymous-class-rfc-is-under-discussion-now/#findComment-1451293 Share on other sites More sharing options...
KevinM1 Posted September 26, 2013 Share Posted September 26, 2013 I'm still annoyed that they haven't implemented object properties yet: https://wiki.php.net/rfc/propertygetsetsyntax-v1.2 How many 'yes' votes does an RFC need in order to proceed? Quote Link to comment https://forums.phpfreaks.com/topic/282450-anonymous-class-rfc-is-under-discussion-now/#findComment-1451303 Share on other sites More sharing options...
Hall of Famer Posted September 26, 2013 Author Share Posted September 26, 2013 I'm still annoyed that they haven't implemented object properties yet: https://wiki.php.net/rfc/propertygetsetsyntax-v1.2 How many 'yes' votes does an RFC need in order to proceed? As far as I know, you need 2/3 of votes, so thats about 66.7%. It seems to me that property accessor gets 34/56 last time, which is about 60.7% of the votes(6% lower than required). Perhaps BC was the cause of all these, wonder if its possible to re-vote or that whatever gets rejected will never be re-considered. Quote Link to comment https://forums.phpfreaks.com/topic/282450-anonymous-class-rfc-is-under-discussion-now/#findComment-1451306 Share on other sites More sharing options...
requinix Posted September 26, 2013 Share Posted September 26, 2013 How many 'yes' votes does an RFC need in order to proceed?38. 2/3rds majority for big changes to the language. I'm disappointed too. Noticed a few of the big names were among the opposed Archive Quote Link to comment https://forums.phpfreaks.com/topic/282450-anonymous-class-rfc-is-under-discussion-now/#findComment-1451308 Share on other sites More sharing options...
KevinM1 Posted September 26, 2013 Share Posted September 26, 2013 38. 2/3rds majority for big changes to the language. I'm disappointed too. Noticed a few of the big names were among the opposed Archive Salathe, man... he wounded me deep. Quote Link to comment https://forums.phpfreaks.com/topic/282450-anonymous-class-rfc-is-under-discussion-now/#findComment-1451314 Share on other sites More sharing options...
Hall of Famer Posted September 30, 2013 Author Share Posted September 30, 2013 Looks like nested class is also on RFC now, things are shaping up faster and better than I originally thought: https://wiki.php.net/rfc/nested_classes Quote Link to comment https://forums.phpfreaks.com/topic/282450-anonymous-class-rfc-is-under-discussion-now/#findComment-1451969 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.