joachim, 1 month ago What's the generic term for keywords in #PHP like 'static', 'public', 'final', etc?
What's the generic term for keywords in #PHP like 'static', 'public', 'final', etc?
andy_blum, 1 month ago @joachim visibility? https://www.php.net/manual/en/language.oop5.visibility.php
@joachim visibility?
https://www.php.net/manual/en/language.oop5.visibility.php
Crell, 1 month ago @joachim In PER-CS, we refer to these as "Modifier Keywords." https://www.php-fig.org/per/coding-style/#46-modifier-keywords (Honestly I think I just made the term up as I was writing that section. I don't know of any other de facto standard name.)
@joachim In PER-CS, we refer to these as "Modifier Keywords."
https://www.php-fig.org/per/coding-style/#46-modifier-keywords
(Honestly I think I just made the term up as I was writing that section. I don't know of any other de facto standard name.)
pcambra, 1 month ago @joachim public, private, protected I know as visibility keywords
@joachim public, private, protected I know as visibility keywords
davesh, 1 month ago @joachim Its just "keywords" isn't it? https://www.php.net/manual/en/reserved.keywords.php
@joachim Its just "keywords" isn't it?
https://www.php.net/manual/en/reserved.keywords.php
joachim, 1 month ago @davesh That's not specific enough though.
@davesh That's not specific enough though.
merms, 1 month ago @joachim I don’t know but I’d go with “method modifier”.
@joachim I don’t know but I’d go with “method modifier”.
joachim, 1 month ago @merms They apply to properties as well! I call them 'modifiers' but I wonder if there's a proper name.
@merms They apply to properties as well! I call them 'modifiers' but I wonder if there's a proper name.
Add comment