Re: [PHP-DEV] ext/overload API

2002-11-14 Thread Timm Friebe
On Thu, 2002-11-14 at 14:09, Timm Friebe wrote: > Hello, [...] > function __get($k) { > return $this->$k; > } [...] Woops, this is wrong, of course. function __get($k, &$v) { $v= &$this->$k; return TRUE; } I also missed that if a member variable exists, __get or __set won't be

Re: [PHP-DEV] ext/overload API

2002-11-14 Thread Andrei Zmievski
On Thu, 14 Nov 2002, Timm Friebe wrote: > Hello, > Andrei, as I can see, you're the author of ext/overload. As suggested > earlier, I've added a second parameter to sybase_fetch_object() which > allows users to pass an object to be filled with the results from the > fetched row (e.g. $article= syba

[PHP-DEV] ext/overload API

2002-11-14 Thread Timm Friebe
Hello, Andrei, as I can see, you're the author of ext/overload. As suggested earlier, I've added a second parameter to sybase_fetch_object() which allows users to pass an object to be filled with the results from the fetched row (e.g. $article= sybase_fetch_object($q, new Article()); or $article= s