n error.
Yes, it should. == is going to test all the properties of the object
against each other. So to compare.
$this == $this->c1->c2, it will compare
$this->c1 == $this->c1->c2->c1, which will in turn compare
$this->c1->c2 == $this->c1->c2->c1->c2, which in turn compares
$this->c1->c2->c1 == $this->c1->c2->c1->c2->c1
And so on.
--
--Robert Deaton
http://www.php.net/manual/en/language.types.string.php#language.types.string.casting
--
--Robert Deaton
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On 4/12/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Thu, April 12, 2007 3:12 pm, Antony Dovgal wrote:
> Surely we must to keep a setting just because two people in the world
> use it.
> I'm afraid their apps won't run on PHP6 anyway because of numerous
> major changes
> (already done and stil
gle
assigned you.
--
--Robert Deaton
http://lushlab.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
for PHP,
than these other languages?
Nobody said that. Marcus said PHP takes a more Delphi-like approach
rather than a C++-like approach. PHP following some other language
rather than your language of choice doesn't mean that its designed
wrong.
--
--Robert Deaton
about that, but Firefox is possible at least.
--
--Robert Deaton
out a decimal is an integer,
and a number with a decimal is a floating point number.
--
--Robert Deaton
http://somethingunpredictable.com
I'd almost rather have %% over <-, and even that looks kinda messy.
I think if I had to, I'd pick :>, although there still isn't any that
stands out to me as "Hey, this is definately a good choice"
--
--Robert Deaton