RE: [PHP] Re: Like ternary but without the else.
| From: | David Robley | Date: | Tue, 01 Mar 2005 06:46:02 +0000 |
| Subject: | RE: [PHP] Re: Like ternary but without the else. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209663@lists.php.net to get a copy of this message | ||
Chris W. Parker wrote:
> Richard Lynch <mailto:ceo@l-i-e.com>
> on Monday, February 28, 2005 5:12 PM said:
>
>> Course, I gotta say that maybe you're coming at this wrong in the
>> first place, if you have to change $this based on $something to $that
>> but $this already has a value...
>>
>> Maybe you should have figured out what $this should be back when you
>> first initialized it?
>>
>> Maybe not. Can't tell without seeing more code.
>
> Hmm.. possible. I'll have to go back and look at it as I haven't messed
> with it in a few days.
>
>
>
> Thanks,
> Chris.
Just a side note here; the variable $this will probably bite you if/when you
upgrade to php 5 :-)
David