note 76896 rejected from function.mysqli-get-host-info by nlopess
| From: | nlopess@php.net | Date: | Wed, 08 Aug 2007 15:08:46 +0000 |
| Subject: | note 76896 rejected from function.mysqli-get-host-info by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-129294@lists.php.net to get a copy of this message | ||
Note Submitter: pierre at pierrepaquette dot net
----
Why would it be that when I try object-oriented style, viz:
$a->host_info;
I get the following error message:
Undefined property: mysqli::$host_info
in PHP 6
whereas if I try the procedural style, viz:
mysqli_get_host_info($a);
there is no error.
I have similar error messages with quite a few functions in PHP 6, actually. Did the object-oriented
way to call them change?
Pierre