can anyone get me started on adding in better oop support?
Posted 23 August 2006 - 11:21 PM
My earleir question got moved to PHP help since I asked it in the completly wrong way. Since tinkering has always been my favorite past time, I would like to give it another shot if that's ok.
I have done a lot of perl scripting in the past since all my computers at home are running Slackware Linux. I tumbled across PHP recently and was excited I could replace perl with a much more advanced language (which also supports OOP woot!).
However, I have been spoiled by C/C++ and I miss a lot of the advanced OOP features it supports. PHP is kind of restrictave in these regards (such as $this re-pointing, copying objects through the constructor, multiple constructors, etc.)
I would like to start playing around with the core, to see what I could cook up, but was a little unsure where to start reading. I am not new to "hacking" code, but I am new to PHP hacking.
Can anyone get me pointed in the right direction? Which portion of the source controls OOP functionality? Are there any technical specifications that document the source layout? Would anyone care on sharing what they did when they first started Hacking PHP?
Thanks for your time!
Posted 07 September 2006 - 06:50 AM
In the source tree in the Zend directory there are a few files, OBJECT2_HOWTO, and zend_object*.c
Posted 07 September 2006 - 06:53 PM
This is exactly what I was looking for.
Thanks for the advice!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users