Re: Avoid object twice
| From: | Shawn McKenzie | Date: | Tue, 03 Jun 2008 17:54:41 +0000 |
| Subject: | Re: Avoid object twice | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274968@lists.php.net to get a copy of this message | ||
Stut wrote:
On 3 Jun 2008, at 18:35, Yui Hiroaki wrote:As Stut says, depending upon what you're trying to do there is most likely a much better way. Why If you want to execute a method or retrieve a property from both objects, why do you have them in two separate files? -ShawnSorry I still have a problem.Let's take a step back. What are you *actually* trying to do. I'm assuming it's not just printing out Hello and Good. What is the real problem you're trying to solve and what are the constraints that are causing you to be weird in the implementation? -Stut