[PHP-DEV] References and adjusting parameters to php extension functions

2002-09-09 Thread Pete Dishman
Hi, I have a script: "; var_dump($string1); echo "String2"; var_dump($string2); ?> // which outputs String1 string(10) "62600." String2 string(10) "62600." registry_get_value() is a function I've implemented in an extension and retrieves values from the registry, setting the third par

Re: [PHP-DEV] PHP extension initialisation

2002-08-16 Thread Pete Dishman
Hi, I asked about this a few weeks ago with apache on windows. The best answer I got was from George Schlossnagle: I believe this is because when apache does it's intial configtest run as part of start (to validate it's config), it has to do a complete startup (otherwise it wouldn't know about

[PHP-DEV] Module startup/shutdown in PHP extensions

2002-07-18 Thread Pete Dishman
Hi, I've just started creating my own PHP extension and am having some trouble understanding the ZEND_MODULE_STARTUP and ZEND_MODULE_SHUTDOWN functions. my zend_module_entry is as follows: zend_module_entry tpphp_module_entry = { STANDARD_MODULE_HEADER, "tpphp", tpphp_functions, ZEND_MODULE

[PHP-DEV] Re: 4.1.0RC1 out

2001-10-19 Thread Pete Dishman
t.c(62) : warning C4133: 'initializing' : incompatible types - from 'void (__cdecl *)(struct _zend_module_entry *,void *** )' to 'int (__cdecl *)(int ,int ,void *** )' php.exe - 0 error(s), 45 warning(s) I'm pretty certain I've seen all of the

[PHP-DEV] Re: 4.1.0RC1 out

2001-10-19 Thread Pete Dishman
More information can be provided if needed. Cheers Pete Dishman "Stig S. Bakken" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > 4.1.0RC1 is out, download it from > http://www.php.net/~ssb/php-4.1.0RC1

[PHP-DEV] Re: RC3

2001-10-04 Thread Pete Dishman
it's been ignored so far. It seems quite important though as it makes code that should work not work. Cheers Pete Dishman "Zeev Suraski" <[EMAIL PROTECTED]> wrote in message 5.1.0.14.2.20011004020413.049ed178@localhost">news:5.1.0.14.2.20011004020413.049ed178@localhos