RE: Re: Like ternary but without the else.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris W. Parker wrote:

> Richard Lynch <mailto:ceo@xxxxxxxxx>
>     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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux