Hi,
I need to load more than one additional_module in my self-made
SAPI-module.
Looking around at the php/zend-API, I thought that the
php_module_startup(...) function provides such functionality:
int php_module_startup(sapi_module_struct *sf, zend_module_entry
*additional_modules, uint
You might be right about that.
The current prototype does allow this though:
zend_module_entry modules[2] = {
{ ... first module ... },
{ ... second module ... }
};
php_module_startup(sapimodule, modules, sizeof(modules)/sizeof(modules[0]));
There are other ways to fire up additional modules
Hi All,
I could see in executor_globals_ctor calling zend_startup_constants
which allocates one hash table.
Later to free this hash table zend_shutdown_constants is called from
zend_shutdown rather than executor_globals_dtor.
This may not cause a memory leak in Non ZTS environment where
Joe Orton wrote:
The DVAL_TO_LVAL macro is quite weird, I'm not sure exactly what it's
supposed to be doing but it probably isn't doing it. If the integral
part of d is outside the range of a long, the conversion has undefined
behaviour by the C99 standard; an explicit cast makes no difference
Joe Orton wrote:
The DVAL_TO_LVAL macro is quite weird, I'm not sure exactly what it's
supposed to be doing but it probably isn't doing it. If the integral
part of d is outside the range of a long, the conversion has undefined
behaviour by the C99 standard; an explicit cast makes no difference
Hello Marcus,
PHP prints an error for every file in /usr/local/lib/php/.registry
One of those files: http://testes.aborla.net/pear.reg
prints:
Notice: unserialize(): Error at offset 121 of 8404 bytes in test.php on
line 5
Nuno
- Original Message -
Hello Nuno,
can you sent me he code it
Hello,
It seems that the php 5 win32 build is broken.
From http://snaps.php.net/win32/snapshot.log :
Enabling extension ..\pecl\db [shared]
c:\php4build\snap\configure.js(3879, 1) Microsoft JScript runtime error:
'PHP_DBDO' is undefined
Nuno
--
PHP Internals - PHP Runtime Development Mailing
Nuno Lopes wrote:
Hello Marcus,
PHP prints an error for every file in /usr/local/lib/php/.registry
One of those files: http://testes.aborla.net/pear.reg
prints:
Notice: unserialize(): Error at offset 121 of 8404 bytes in test.php on
line 5
This file is truncated, please verify that it indeed does
Nuno Lopes wrote:
Hello Marcus,
PHP prints an error for every file in /usr/local/lib/php/.registry
One of those files: http://testes.aborla.net/pear.reg
prints:
Notice: unserialize(): Error at offset 121 of 8404 bytes in test.php on
line 5
This file is truncated, please verify that it indeed does
Nuno Lopes wrote:
It seems that the php 5 win32 build is broken.
Should be fixed.
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69
--
PHP Internals - PHP Runtime Development Mailing List
To
Derick Rethans wrote:
derickSat Sep 11 10:22:36 2004 EDT
Modified files:
/ZendEngine2 zend_operators.c zend_operators.h
/php-src/ext/standard array.c
Log:
- MFB: Added the sorting flag SORT_LOCALE_STRING to the sort()
functions
hello Marcus,
well, i knew for zend_try but i hoped that they could do something for user
exception. ( i saw a piece of code in soap.c)
unfortunately, my problem is the same: catch user exception or at least,
know if an exception is thrown.
I read zend_exception.c line by line ( word by word :)
12 matches
Mail list logo