Moriyoshi Koizumi wrote:
Hi,
Thanks for the report.
Although I found a bug in the overloading code, I wonder why the mail()
function entry was not found on RINIT. Any insights?
If sendmail binary cannot be found at configure time, mail() may not
be compiled in PHP under UNIX like OS :(
IMO, we should always compile mail() function.
Distributors sometimes release PHP packages (i.e. RPM) w/o mail()
sometimes.
--
Yasuo Ohgaki
Moriyoshi
"Ilia A." <[EMAIL PROTECTED]> wrote:
On November 7, 2002 10:04 am, Andrei Zmievski wrote:
At the PHP Conference in Germany several of us have discussed the
current state of mbstring and there was a proposal to not have it
enabled by default for 4.3.0 release. It seems that the extension
attempts to do "magic" stuff by overloading functions in the executor
globals and, as Thies said, that could be dangerous. Also, doesn't it
affect run-tests.php script currently?
On the note of overloading done by mbstring, it appears this behavior is not
entirely stable. On at least one test system (Sun OS 5.9) it causes crashes
and overruns by using the test script in the test suite.
Ex:
sapi/cli/php -d "mbstring.func_overload=1" -r ''
Unknown(0) : Fatal error - (null)() [http://www.php.net/ref.mbstring]:
mbstring couldn't find function mail.
Could not startup.
[Tue Nov 12 21:01:33 2002] Script: '-'
---------------------------------------
php4/Zend/zend_execute.h(44) : Block 0x001FB640 status:
Beginning: Overrun (magic=0x001FE7F8, expected=0x7312F8DC)
End: Unknown
---------------------------------------
The test script itself (ext/mbstring/tests/overload.phpt) causes a
segmentation fault. Here is a back trace:
#0 0x001528f8 in shutdown_memory_manager (silent=1, clean_cache=1) at
php4/Zend/zend_alloc.c:461
#1 0x0011d944 in php_module_shutdown () at php4/main/main.c:1219
#2 0x0018d8d0 in main (argc=39, argv=0xffbffa74) at
php4/sapi/cli/php_cli.c:761
Ilia
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php