[PHP-DEV] Compiling 2 SAPIs

2004-01-06 Thread Andrei Zmievski
I have a project where I need to have both Apache SAPI (shared) and embed SAPI (shared) compiled/active at the same time. Is that possible to do at all? Any risk of symbol clashes or other similar problems? - Andrei -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] Conditional class definition in PHP 4.3.x

2004-01-06 Thread Zeev Suraski
At 18:58 06/01/2004, Alan Knowles wrote: This only affects single line conditional class and function declarations. php -r ' if (1) { function test () { echo "1"; }} else { function test() { echo "0"; }} test();' It affects php4.3.2 and up. (and probably alot earlier) Wow, that's a neat one.

Re: [PHP-DEV] Conditional class definition in PHP 4.3.x

2004-01-06 Thread Alan Knowles
This only affects single line conditional class and function declarations. php -r ' if (1) { function test () { echo "1"; }} else { function test() { echo "0"; }} test();' It affects php4.3.2 and up. (and probably alot earlier) if you lay this out in a file, it works perfectly: eg. if (1) {

Re: [PHP-DEV] CVS Account Request: bac

2004-01-06 Thread Alan Knowles
Can you send patches to pecl-dev mailing list first, (It's just common practice to 'get to know each other' a bit) before opening up CVS to new people.. Regards Alan Marc Victor Carvalho Cabadas wrote: I created one I modulate to give I have supported threads using library POSIX Threads and I wo

[PHP-DEV] CVS Account Request: bac

2004-01-06 Thread Marc Victor Carvalho Cabadas
I created one I modulate to give I have supported threads using library POSIX Threads and I would like to publish and to improve the code of exactly. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: metz

2004-01-06 Thread Michael Metz
collaboration with Stefan Neufeind (cvs-account: neufeind) on pear-packages -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] php4 run-tests.php always inserting HTTP headers

2004-01-06 Thread Daniel Convissor
Hi: As some folks suggested off list, setting TEST_PHP_EXECUTABLE to the CLI helped. I had already tried it, but that was only part of the probem. Here are the other pieces. I had to be logged on as a user with administrative priveleges because the php executable dir and the files in it aren't