RE: [PHP-DEV] RE: Re: How do I register a constructor in PHP (C code)

2001-09-26 Thread Emanuel Dejanu
D] > Subject: Re: [PHP-DEV] RE: Re: How do I register a > constructor in PHP (C code) > > > Hm.. attachement file is my full source.. > > To compile: > tar xzf scl.tgz > mv scl any_path/php-4.0.6/ext > cd php-4.0.6 > rm configure config.cache > ./buildc

RE: [PHP-DEV] RE: Re: How do I register a constructor in PHP (C code)

2001-09-26 Thread Emanuel Dejanu
Dual Pentium III 800 MHz (712 MB RAM) machine. > -Original Message- > From: Hansuck Jo [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 26, 2001 11:02 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DEV] RE: Re: How do I register a > constructor in PHP (C code) &g

Re: [PHP-DEV] RE: Re: How do I register a constructor in PHP (C code)

2001-09-26 Thread Hansuck Jo
hm... ZEND_* functions instead PHP_* functions. This is sample code..(of course. You must include zend.h etc..) static zend_function_entry scl_functions[] = { {NULL, NULL, NULL} }; zend_module_entry scl_module_entry = { "scl", scl_functions, ZEND_MINIT(scl),