Re: [PHP-DEV] Overloading object methods

2003-01-09 Thread Stefano Corsi
Alle 09:40, giovedì 9 gennaio 2003, John Coggeshall ha scritto: > This list is for the development _of_ PHP not _with_ PHP, please direct > future questions there > > However, I don't understand the question you are asking... If you have > this: > > Class A { > > function foo() { > >

[PHP-DEV] Overloading object methods

2003-01-09 Thread Stefano Corsi
Does someone know how to call a parent's object method? Not contructor (because that is easy) but a method with the same name. For example, if I have a method that is called pippo() and at the end of the method i want to call parent::pippo(), how could I do? I tried with call_user_function usin

[PHP-DEV] Include a file from inside an extension...

2003-01-07 Thread Stefano Corsi
Hello, does someone understand if this is the right procedure to include a filename from inside a C extension? MAKE_STD_ZVAL(filename_z); ZVAL_STRING(filename_z, "myfile.inc", 1); op = compile_filename(ZEND_INCLUDE, filename_z); zend_execute(op TSRMLS_CC); Thanks, Stefano -- PHP Devel

[PHP-DEV] "add_property_*", "set_constructor" and more ...

2003-01-06 Thread Stefano Corsi
Hello. I have managed porting my Zend1 objects to the new object structure and I have some ideas or doubts I want to share: Properties --- The "add_property_*" function pool updates zval->value->obj->properties (Z_OBJPROP_P), while now the correct HastTable to update is in Z_OBJ_P(zva

[PHP-DEV] Zend 2 - how to test

2003-01-05 Thread Stefano Corsi
Hello. I have downloaded Zend2 and tried to compile it against php 4.3.0 with many errors during the linking phase and some corrections at main/* files. Which is the right version/checkout for php to compile against Zend2 and where is it possible to get it? Thanks, Stefano -- PHP Deve

[PHP-DEV] Objects and Zend Engine2.

2003-01-04 Thread Stefano Corsi
Hello. I'm developing and extension that creates several objects using the zend engine. - Will probably the new Zend Engine 2 make my C code unusable? - How could I start building towards the new Zend Engine? Thanks, Stefano -- PHP Development Mailing List To u

[PHP-DEV] Creating objects at startup

2002-12-28 Thread Stefano Corsi
, Stefano Corsi -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php