#49535 [NEW]: mysqli::get_client_info/get_client_version are properties

From: Date: Fri, 11 Sep 2009 19:27:36 +0000
Subject: #49535 [NEW]: mysqli::get_client_info/get_client_version are properties
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2767@lists.php.net to get a copy of this message
From:             the_djmaze at hotmail dot com
Operating system: Linux
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  mysqli::get_client_info/get_client_version are properties

Description:
------------
Documention is incorrect because they are properties.

Reproduce code:
---------------
According to:

http://php.net/manual/en/mysqli.get-client-info.php

This is:

string mysqli::get_client_info  ( void  )

Should be:

string mysqli->client_info


According to:

http://php.net/manual/en/mysqli.get-client-version.php

This is:

string mysqli::get_client_version  ( void  )

Should be:

string mysqli->client_version


Expected result:
----------------
method

Actual result:
--------------
property

-- 
Edit bug report at http://bugs.php.net/?id=49535&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=49535&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=49535&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=49535&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=49535&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49535&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=49535&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=49535&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=49535&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=49535&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=49535&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=49535&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=49535&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=49535&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=49535&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49535&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49535&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=49535&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=49535&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=49535&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=49535&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=49535&r=mysqlcfg



Thread (7 messages)

« previous php.doc.bugs (#2767) next »