Revision as of 22:40, 12 February 2024 editHog Farm (talk | contribs)Autopatrolled, Administrators55,497 edits close GAR Misplaced Pages:Good article reassessment/PHP/1 as delist (GANReviewTool)← Previous edit | Revision as of 17:52, 16 February 2024 edit undoPARAKANYAA (talk | contribs)Autopatrolled, Extended confirmed users, New page reviewers43,544 edits Assessment: banner shell, Computing (Rater)Next edit → | ||
Line 21: | Line 21: | ||
|currentstatus = DGA | |currentstatus = DGA | ||
}} | }} | ||
{{WikiProject banner shell|class=|vital=yes|1= | {{WikiProject banner shell|class=C|vital=yes|1= | ||
{{WikiProject Computing|importance= |
{{WikiProject Computing|importance=High|free-software=yes|free-software-importance=High|software=yes}} | ||
{{WikiProject Computer science|importance=high}} | {{WikiProject Computer science|importance=high}} | ||
{{WikiProject Internet|importance=high}} | {{WikiProject Internet|importance=high}} | ||
Line 28: | Line 28: | ||
{{WikiProject Spoken Misplaced Pages|En-PHP.ogg|462166234}} | {{WikiProject Spoken Misplaced Pages|En-PHP.ogg|462166234}} | ||
}} | }} | ||
{{Merged-from|Visibility of PHP properties and methods|08:41, July 28, 2010}} | {{Merged-from|Visibility of PHP properties and methods|08:41, July 28, 2010}} | ||
{{Merged-from|PHP Data Objects|date=July 15, 2014}} | {{Merged-from|PHP Data Objects|date=July 15, 2014}} |
Revision as of 17:52, 16 February 2024
Skip to table of contents |
This is the talk page for discussing improvements to the PHP article. This is not a forum for general discussion of the article's subject. |
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
PHP was one of the Engineering and technology good articles, but it has been removed from the list. There are suggestions below for improving the article to meet the good article criteria. Once these issues have been addressed, the article can be renominated. Editors may also seek a reassessment of the decision if they believe there was a mistake. | |||||||||||||||||||||||||
|
This level-5 vital article is rated C-class on Misplaced Pages's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The contents of the Visibility of PHP properties and methods page were merged into PHP on 08:41, July 28, 2010. For the contribution history and old versions of the redirected page, please see its history; for the discussion at that location, see its talk page. |
The contents of the PHP Data Objects page were merged into PHP on July 15, 2014. For the contribution history and old versions of the redirected page, please see its history; for the discussion at that location, see its talk page. |
Archives | ||||||||
|
||||||||
This page has archives. Sections older than 100 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
Using Type Declaration instead of Type Hints
As my change has been reverted it seems appropriate to discuss the matter.
The PHP documentations refers to them as Type declaration, see: https://www.php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration, and the original RFC introducing scalar types, uses the word "declaration", see: https://wiki.php.net/rfc/scalar_type_hints_v5 Although it is true that the PHP 5 documentation referred to them as "hints", and that the "Object Typehint" RFC is named as such but for all intent and purposes it is a type declaration.
Moreover, the word "declaration" is used in other places correctly instead of "hint", see:
PHP 7 also included new language features. Most notably, it introduces return type declarations for functions which complement the existing parameter type declarations, and support for the scalar types (integer, float, string, and boolean) in parameter and return type declarations.
Unusually for a dynamically typed language, PHP supports type declarations on function parameters, which are enforced at runtime. This has been supported for classes and interfaces since PHP 5.0, for arrays since PHP 5.1, for "callables" since PHP 5.4, and scalar (integer, float, string and boolean) types since PHP 7.0. PHP 7.0 also has type declarations for function return types, expressed by placing the type name after the list of parameters, preceded by a colon. For example, the getAdder function from the earlier example could be annotated with types like so in PHP 7:
By default, scalar type declarations follow weak typing principles.
(Emphasis mine)
As I'm new to contributing to Misplaced Pages, I don't know what to do about the following comment from the revert commit
"typehint" is the commonly used term in the community.
As sure it is referred to that but it is not accurate, and my understanding is that Misplaced Pages articles should be accurate.
Can someone more experienced clarify?
Security
Graphics processing is a rapidly developing field, so what was 'current' even only recently could be outdated very quickly. Additionally, describing GPU capability by monetary cost isn't particularly descriptive, even if one assumes USD pricing. — Preceding unsigned comment added by 27.96.195.4 (talk) 04:19, 27 March 2023 (UTC)
throws keyword
The example of the throws
keyword does not include the throws
keyword in it. Is this even a real keyword? The docs at php.net have nothing about it. 131.200.248.40 (talk) 18:33, 4 January 2024 (UTC)
GA Reassessment
PHP
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
- Article (edit | visual edit | history) · Article talk (edit | history) · Watch • Watch article reassessment page • GAN review not found
- Result: Delisted. Hog Farm Talk 22:40, 12 February 2024 (UTC)
Multiple issues. The article is peppered with {{cn}} tags, and is largely based on primary sources (with not enough weight being given to third party sources). There is a one line section covering the PHP Foundation which should probably eithier be integrated into "History" (or removed completely). Additionally there are multiple dubious statements and promotional SEAOFBLUEs in the "Use" section while the "Security" section offers uncited WP:NOTGUIDE advice on security matters Sohom (talk) 08:24, 2 February 2024 (UTC)
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion. Categories:- Delisted good articles
- Old requests for peer review
- C-Class level-5 vital articles
- Misplaced Pages level-5 vital articles in Technology
- C-Class vital articles in Technology
- C-Class Computing articles
- High-importance Computing articles
- C-Class software articles
- Unknown-importance software articles
- C-Class software articles of Unknown-importance
- All Software articles
- C-Class Free and open-source software articles
- High-importance Free and open-source software articles
- C-Class Free and open-source software articles of High-importance
- All Free and open-source software articles
- All Computing articles
- C-Class Computer science articles
- High-importance Computer science articles
- WikiProject Computer science articles
- C-Class Internet articles
- High-importance Internet articles
- WikiProject Internet articles
- Mid-importance software articles
- C-Class software articles of Mid-importance
- Unknown-importance Computing articles