function __construct($statement, PreparedStatement $p) { //Register with $this->db using weakmap parent::__construct($statement, $p); }
function __construct($statement, PreparedStatement $p) { $statement->store_result(); parent::__construct($statement, $p); }