php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78546 Bad grammar for description of PHP_OS_FAMILY
Submitted: 2019-09-15 23:08 UTC Modified: 2019-09-16 06:54 UTC
From: danielklein at airpost dot net Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2019-09-15 23:08 UTC] danielklein at airpost dot net
Description:
------------
---
From manual page: https://php.net/reserved.constants
---
The grammar is bad for the description of PHP_OS_FAMILY. "Either" means "One of two".

https://en.wiktionary.org/wiki/either#English

Expected result:
----------------
PHP_OS_FAMILY (string)
The operating system family PHP was built for. One of 'Windows', 'BSD', 'Darwin', 'Solaris', 'Linux', or 'Unknown'. Available as of PHP 7.2.0.


Actual result:
--------------
PHP_OS_FAMILY (string)
The operating system family PHP was built for. Either of 'Windows', 'BSD', 'Darwin', 'Solaris', 'Linux' or 'Unknown'. Available as of PHP 7.2.0.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-09-16 06:53 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=347996
Log: Fix #78546: Bad grammar for description of PHP_OS_FAMILY
 [2019-09-16 06:54 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2019-09-16 06:54 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2019-09-16 06:55 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=5b4df3073c9bb04b5e1e0b2a8a32d12da5eb4397
Log: Fix #78546: Bad grammar for description of PHP_OS_FAMILY
 [2020-02-07 06:04 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=a24b818c682c4599e811210e4a5a535b604537ca
Log: Fix #78546: Bad grammar for description of PHP_OS_FAMILY
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 08 02:01:32 2024 UTC