473,388 Members | 1,220 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

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

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

Apr 3 '08 #1
1 1073
On Thu, 03 Apr 2008 18:43:00 +0200, Simon <sp********@example.comwrote:
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?
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
Apr 3 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

34
by: Chung Leong | last post by:
There has been a number of threads in this newsgroup concerning OOP and PHP. Usually people just debate on which language is more (or less) OOP than others. The merit of OOP in the web-programming...
699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
303
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
48
by: Agent Mulder | last post by:
Hi group, When filling in my Windows(tm) structs, I use NULL for object pointers and 0 for ints, floats etc. I found out that this compiles: int a=NULL; float b=NULL; etc. Is that valid?
98
by: Pamel | last post by:
I know this must have been asked elsewhere, but I cannot find it. There is a piece of text on my web page that I don't want browsers to resize. IE won't resize it if I specify the size in px, but...
6
by: demo | last post by:
using visual studio 6 with service pack 0 and 5, why does the distructor of a class contained inside a namespace isn't called and instead it's called when: - iostream.h is included instead of...
2
by: Mike MacSween | last post by:
I'm looking at setting myself up as a limited company as far as development work goes. Mainly to insulate my private estate from any business risk. I'd probably just buy an off the shelf company...
52
by: entropy123 | last post by:
Hey all, I'm working with some legacy C code and I would like to compile it as a CPP file. I get the following error message: driver.cpp:87: cannot convert `void *' to `GenericStruct *' in...
2
by: Ben Holness | last post by:
Hi all, I have a PHP page that generates a status code for a server every minute. I want a program that sits in someones systray/taskbar (in Windows) that polls this page and if the code...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.