OT(ish) : How did they do that in C++

OT(ish) : How did they do that in C++

am 03.04.2008 18:43:00 von Simon

Hi,

I am trying to look at the c++ source code of php5.
But for the life of me I cannot find the implementation of "operator ==="

In fact, I cannot find the implementation of any operators, can someone
point me in the right direction?

Thanks

Simon

Re: OT(ish) : How did they do that in C++

am 03.04.2008 19:47:22 von luiheidsgoeroe

On Thu, 03 Apr 2008 18:43:00 +0200, Simon wrote=
:

> Hi,
>
> I am trying to look at the c++ source code of php5.
> But for the life of me I cannot find the implementation of "operator =3D=
=="
>
> In fact, I cannot find the implementation of any operators, can someon=
e =

> point me in the right direction?

Search for T_IS_IDENTICAL. I suspect it's defined in =

/Zend/zend_language_scanner.l, possibly implemented further by =

zend_do_binary_op, but that's just guesswork here.
-- =

Rik Wasmus