|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73681 Incorrect description for PHP 7 and higher
Submitted: 2016-12-08 03:03 UTC Modified: 2016-12-08 13:10 UTC
From: danielklein at airpost dot net Assigned: cmb (profile)
Status: Closed Package: PHP options/info functions
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: danielklein at airpost dot net
New email:
PHP Version: OS:


 [2016-12-08 03:03 UTC] danielklein at airpost dot net
From manual page:

The following code example is incorrect if running on PHP greater than 5:

if (version_compare(PHP_VERSION, '5.0.0', '>=')) {
    echo 'I am using PHP 5, my version: ' . PHP_VERSION . "\n";

It should say 'I am using *at least* PHP 5, ...'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-08 11:43 UTC]
-Status: Open +Status: Verified -Package: Documentation problem +Package: PHP options/info functions -Assigned To: +Assigned To: cmb
 [2016-12-08 13:09 UTC]
Automatic comment from SVN on behalf of cmb
Log: Fix #73681: Incorrect description for PHP 7 and higher
 [2016-12-08 13:10 UTC]
-Status: Verified +Status: Closed
 [2016-12-08 13:10 UTC]
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.
 [2020-02-07 06:06 UTC]
Automatic comment on behalf of cmb
Log: Fix #73681: Incorrect description for PHP 7 and higher
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue May 11 16:01:23 2021 UTC