[PHP-DEV] run-tests.php

2002-05-19 Thread Yasuo Ohgaki
I'm not sure who's changes but current run-tests script has some problems. It should use sapi/cli/php. (Unless someone is fixed problem with sapi/cgi/php) No need to use TEST_PHP_EXECUTABLE, since it's enough to test with current build. I can understand the idea, but it does not make sense that

[PHP-DEV] zend_op_array question

2002-05-19 Thread Wez Furlong
I'm in the process of adding IActiveScriptError support to my active script sapi. The way the sapi works is by compiling "scriptlets" into zend_op_arrays and then, at a later time, uses zend_execute to execute them. This works perfectly when the script has no errors :-) If I deliberately add a

Re: [PHP-DEV] zend_op_array question

2002-05-19 Thread Zeev Suraski
EX(function_state).function is supposed to be a pointer to the op_array that you passed to execute(). Any chance the op_array is somehow deleted by mistake? Did you try looking at EX(function_state) and EX(function_state).function to understand why it's dying? At 03:02 PM 5/19/2002, Wez Furlo

Re: [PHP-DEV] zend_op_array question

2002-05-19 Thread Wez Furlong
Got it - my zend_error_cb replacement was not bailing out in response to the fatal error, which meant that the ZEND_DO_FCALL_BY_NAME opcode was writing over EX(function_state).function with garbage values. --Wez. On 19/05/02, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > EX(function_state).functio

[PHP-DEV] webdav server implementation

2002-05-19 Thread Christian Stocker
Hi I've got today a WebDAV server in PHP-Userland running. It works quite well with nautilus and cadaver and not so well with MS-Stuff... but it was just a proof of concept and I will get that running, too :) When i finished it, I will most likely put it online anywhere (or contribute it to PEAR

[PHP-DEV] [PATCH] some BEGIN_EXTERN_C for Zend Engine

2002-05-19 Thread Wez Furlong
Can someone with karma for the ZE please apply this patch? You'll need it if you want to play with the activescript sapi. Thanks! --Wez. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] ActiveScript sapi now in CVS

2002-05-19 Thread Wez Furlong
Well, I've added the new activescript sapi to CVS; it's still experimental, but it should work for quite a few uses. I've tested it with IE using syntax like this: $window->alert("hello"); It also works with the Windows Scripting Host; you can either explicitly set the engine on the comm

RE: [PHP-DEV] [PATCH] some BEGIN_EXTERN_C for Zend Engine

2002-05-19 Thread Wez Furlong
Damn; outlook must have clobbered the mimetype and the list stripped it... Here it is again with a .txt extension. --Wez. > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: 20 May 2002 03:12 > To: Wez Furlong > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-DEV]

Re: [PHP-DEV] ActiveScript sapi now in CVS

2002-05-19 Thread Wez Furlong
Admittedly, I don't think many people would use it in the real world for the examples that I gave. However, the main use that I have in mind is with a custom script host application shell that combines a win32 application with an embedded internet explorer HTML control. This would be something a

[PHP-DEV] Bidirectional Pipe

2002-05-19 Thread Kim Saunders
Hi All, I'm writing something in PHP at the moment, and I *really* need bi-directional pipe support, a la IPC::Open2 in Perl. IPC::Open2 works by returning two filehandles to the command to be run, one which can be written to and it goes to the STDIN of the command that gets run, and one that ca

[PHP-DEV] Threaded PHP scripts

2002-05-19 Thread Topi Maenpaa
Hi, I've just started implementing a pthread extension to the PHP language. Things just aren't as simple as I expected. I have no problems in creating threads, mutexes and the like. But it seems that zend_execute and companion functions use some global variables (executor globals, accessed via EG