NYCPHP Meetup

NYPHP.org

[nycphp-talk] class method name exists, class property exists, calling method fails

soazine at pop.erols.com soazine at pop.erols.com
Tue Oct 28 13:24:35 EST 2003


I believe I am doing the reference assignment:

$var =& new MyClass;

The identical code still fails on one site and works on two others.. the
site it fails is Red Hat 9, Apache 1.3 and PHP 4.1.3.  The others range
from PHP 4.0.3 to PHP 4.1.2

Phil

Original Message:
-----------------
From: David Mintz dmintz at davidmintz.org
Date: Tue, 28 Oct 2003 12:35:09 -0500 (EST)
To: soazine at erols.com, talk at lists.nyphp.org
Subject: Re: [nycphp-talk] class method name exists, class property
exists,calling method fails


On Mon, 27 Oct 2003, soazine at pop.erols.com wrote:

> I have a class object I am calling in another class:

You have to assign it by reference.


---
David Mintz
http://davidmintz.org/
Email: See http://dmintzweb.com/whitelist.php first!

	"Anybody else got a problem with Webistics?"

		Sopranos 24:17

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .





More information about the talk mailing list