note 95441 rejected from pdostatement.fetchobject by thiago
| From: | thiago@php.net | Date: | Mon, 04 Jan 2010 13:06:49 +0000 |
| Subject: | note 95441 rejected from pdostatement.fetchobject by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164598@lists.php.net to get a copy of this message | ||
Note Submitter: thomasdecaux at ebuildy dot com
----
Its worth noting that the settings are done before the call to the constructor:
class NewsVO
{
var $id;
var $title;
var $content;
var $date;
public function __construct()
{
die($this->title);
}
}
Print the title instead of nothing! I am not sure its a bug, because its very usefull to do some
post-treatment on the VO properties...
So, question is, can we use it as a special PDO feature or its a pure bug?