On Tue, Apr 24, 2001 at 08:00:47PM +0400, Vadka wrote: > > Hi! <frag> to get this working you have to say: class hallo { //... function &hallo($bla) { // ^ this is important! $this->parser = xml_parser_create(); xml_set_object($this->parser,$this); // ... } } and then instantiate using: $a = &new hallo($bla); // ^ important. the problem here a cyclic references _and_ $this _not_ being the instantiated object (unless u use this ugly ampersand hack as illustrated) tc > ----------------------- Script -------------------- <frag> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP-DEV] 4.0.5: Merge Request Zeev Suraski
- Re: [PHP-DEV] 4.0.5: Merge Request Andi Gutmans
- Re: [PHP-DEV] 4.0.5: Merge Request Zeev Suraski
- Re: [PHP-DEV] 4.0.5: Merge Request Andi Gutmans
- Re: [PHP-DEV] 4.0.5: Merge Request Zeev Suraski
- [PHP-DEV] Bug in objects+XML Vadka
- Re: [PHP-DEV] Bug in objects+XML Jon Parise
- Re: [PHP-DEV] Bug in objects+XML Vadka
- Re: [PHP-DEV] Bug in objects+XML Vadka
- Re: [PHP-DEV] Bug in objects+XML Thies C. Arntzen
- Re: [PHP-DEV] Bug in objects+XML Thies C. Arntzen
- Re: [PHP-DEV] Bug in objects+XML Jon Parise
- Re: [PHP-DEV] Bug in objects+XML Thies C. Arntzen
- Re: [PHP-DEV] 4.0.5: Merge Request Rasmus Lerdorf
- Re: [PHP-DEV] 4.0.5: Merge Request Jani Taskinen
- Re: [PHP-DEV] 4.0.5: Merge Request Rasmus Lerdorf
- RE: [PHP-DEV] 4.0.5: Merge Request James Moore
- RE: [PHP-DEV] 4.0.5: Merge Request Rasmus Lerdorf
- [PHP-DEV] RE: 4.0.5: Merge Request Liz
- Re: [PHP-DEV] RE: 4.0.5: Merge Request Boian Bonev
- Re: [PHP-DEV] 4.0.5: Merge Request Zeev Suraski