php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #33346 pg_connection_status example uses literal instead of constant
Submitted: 2005-06-15 06:33 UTC Modified: 2005-06-15 06:38 UTC
From: david dot tulloh at infaze dot com dot au Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2005-06-15 06:33 UTC] david dot tulloh at infaze dot com dot au
Description:
------------
documentation line reads:
if ($stat === 0) {

it would be better to read:
if ($stat === PGSQL_CONNECTION_OK) {


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-15 06:38 UTC] chriskl@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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 20 23:00:02 2025 UTC