Bug #79107 [Com]: Undefined property: mysqli::$stat

From: Date: Mon, 13 Jan 2020 19:58:39 +0000
Subject: Bug #79107 [Com]: Undefined property: mysqli::$stat
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224888@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79107&edit=1

 ID:                 79107
 Comment by:         a at b dot c dot de
 Reported by:        bkfake-php at yahoo dot com
 Summary:            Undefined property: mysqli::$stat
 Status:             Not a bug
 Type:               Bug
 Package:            MySQLi related
 Operating System:   osx
 PHP Version:        7.4.1
 Block user comment: N
 Private report:     N

 New Comment:

https://www.php.net/manual/en/migration74.incompatible.php#migration74.incompatible.mysqli

"The undocumented mysqli::$stat property has been removed in favor of mysqli::stat()."


Previous Comments:
------------------------------------------------------------------------
[2020-01-13 04:14:13] bkfake-php at yahoo dot com

Update:  I may have a reading comprehension issue  

not sure if $stat property value was ever documented or when it went away, but able to use stat()
method just the same.

------------------------------------------------------------------------
[2020-01-13 03:35:49] requinix@php.net

Oops. I meant to say


Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php

------------------------------------------------------------------------
[2020-01-13 03:34:37] requinix@php.net

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

https://www.php.net/manual/en/mysqli.stat.php

------------------------------------------------------------------------
[2020-01-13 03:33:32] bkfake-php at yahoo dot com

Description:
------------
Undefined property: mysqli::$stat

client_info = mysqlnd 7.4.1


Test script:
---------------
$mysqli = new mysqli();
$mysqli->stat;  // triggers Undefined property

Expected result:
----------------
if above example, stat should be an empty string

Actual result:
--------------
Warning:  Undefined property


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=79107&edit=1


Thread (5 messages)

« previous php.bugs (#224888) next »