[PHP-DEV] disable_classes

2003-03-02 Thread Harald Radi
i reclassified http://bugs.php.net/bug.php?id=22481 to a feature request for adding disable_classes . if there are no objections i'm going to implement it that way. regards, Harald Radi -- nme - we can heal you http://www.nme.at Ortner Radi Schwenk GnbR Tumpenweg 528 5084 Grossgmain, Salzburg

[PHP-DEV] PHP 4.5.x-dev

2003-03-02 Thread Harald Radi
sorry for this naive question, i just realized that we have php 4.5.x snapshots on snaps.php.net, i assume this is the PHP_4 branch. does that mean that PHP_4_3 and PHP_4 should kept synchronized ? is there also a PHP_4 branch in the Zend module or ist HEAD supposed to be PHP_4 ? regards, Harald

Re: [PHP-DEV] #php.bugs invite only?

2003-03-01 Thread Harald Radi
Andi Gutmans [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED]... At 12:12 PM 2/28/2003 -0500, Ilia A. wrote: On February 28, 2003 11:50 am, George Schlossnagle wrote: #php.bugs seems to be invite only now. How do I go about getting myself invited? It would appear

[PHP-DEV] RE: PHP, Windows and COM.

2003-02-26 Thread Harald Radi
hi richard The problem with some of the VBA functions is that the first and last parameter need to be set and the ones in the middle have no meaning and cannot be present. This can only be achieved by using named parameters. The GoTo method, as a function, in VBA would be ... sooner or

[PHP-DEV] RE: PHP, Windows and COM.

2003-02-25 Thread Harald Radi
for optional parameters in the components typelibrary which is browsable using the oleview tool. i hope that helps. regards, Harald Radi -- nme - we can heal you http://www.nme.at http://www.nme.at/ Ortner Radi Schwenk GnbR Tumpenweg 528 5084 Grossgmain, Salzburg Austria -Original Message

[PHP-DEV] #22111

2003-02-10 Thread Harald Radi
beside that there's no need for escaping the double quotes in his example, shouldn't the transsid parser recognize them ? i mean i can come up with other examples where escaping them is necessary. http://bugs.php.net/?id=22111edit=1 waiting for any rfcs or isos. regards, Harald Radi -- nme - we

Re: [PHP-DEV] Mono PHP

2003-02-06 Thread Harald Radi
Why PECL and not add it to ext/rpc? ext/rpc should be able to load rpc backend modules, or PECL is the only sensible place to put it (especially when it's experimental!). We really don't want to mix java, mono, xmlrpc, soap and whatnot into a single package. in case you don't know,

RE: [PHP-DEV] OO in PHP5 (was zend_API.c on php-dev)

2003-02-05 Thread Harald Radi
if you want to throw an exception you necessarily have to declare an exception class. but i still don't get the difference wheter this is done in c or php code and how it actually fits into the original discussion which was about a completely different thing. regards, Harald Radi -- nme - we can

Re: [PHP-DEV] OO in PHP5 (was zend_API.c on php-dev)

2003-02-04 Thread Harald Radi
? harald Timm Friebe [EMAIL PROTECTED] schrieb im Newsbeitrag news:1044352391.22055.58.camel@localhost... On Mon, 2003-02-03 at 21:20, Harald Radi wrote: [...] when called as function - print warning when called as method - throw exception What exception? There are no builtin exceptions

[PHP-DEV] Re: zend_API.c

2003-02-03 Thread Harald Radi
Harald Radi [EMAIL PROTECTED] * zend_API.c zend_API.h: extend the parameter parsing API by two functions for parsing method parameters with automatic detection if the function was called as such or as a class method (with a valid this ptr

[PHP-DEV] Re: can't get wincvs to ask for login

2003-02-03 Thread Harald Radi
menu - admin - login Greg Beaver [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED]... Hi, I'm trying to commit some changes, and can't get wincvs to log me in or even to request a password with pserver. I've changed the username from cvsread to cellog. Anyone with wincvs

[PHP-DEV] RE: zend_API.c

2003-02-03 Thread Harald Radi
-Original Message- From: Andrei Zmievski [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 4:04 PM Continuing from IRC discussion: why do we need extensions that provide both function and object APIs for the same functionality? Are we trying to emulate Perl or

[PHP-DEV] RE: zend_API.c

2003-02-03 Thread Harald Radi
From: Andrei Zmievski [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 4:18 PM so the question is to give rope or not. Ugh, so following your line of reasoning we should rewrite all extensions to provide both function and OO apis? A better approach would be to have

[PHP-DEV] RE: zend_API.c

2003-02-03 Thread Harald Radi
-) we finally brought down the cost of handling object beeing virtually the same as for handling resources, so why should we try that hard to make the damn thing slow again ? You are proving my point - the cost of handling objects is minimal, so why not do it in userland? because

[PHP-DEV] RE: zend_API.c

2003-02-03 Thread Harald Radi
On Mon, 03 Feb 2003, Harald Radi wrote: because then we have userland - ze2 oo - userland - php function instead of userland - php function. maybe that's negligable, i didn't benchmark it. Hmm, care to explain this? It should just be object call - PHP function call. if $obj

[PHP-DEV] RE: zend_API.c

2003-02-03 Thread Harald Radi
It's a difference between doing a call_user_function_ex() and invoking the handler directly. i don't get your point. how would such a pear class look like ? you're missing the point. if i invoke a method i don't expect it to print a warning, i expect it to throw an exception (most

Re: [PHP-DEV] writing test cases

2003-02-03 Thread Harald Radi
that's not true guys, PHP4 is in the PHP_4_3 branch and if you don't explicitely commit the tests to that branch they won't be there. HEAD is PHP5. there's no need for comparing versions or whatever except if you want to make one test work differently for both php versions. harald Moriyoshi

Re: [PHP-DEV] Using CLI as a shell

2003-02-03 Thread Harald Radi
There is a difference between interactive mode and this idea. The idea was to execute every single line. So if you type 'echo Hello\n; and press enter Hello should be displayed. i like this idea, so i no longer have to type echo Hello on my bash prompt :) harald -- PHP Development Mailing

[PHP-DEV] OO in PHP5 (was zend_API.c on php-dev)

2003-02-03 Thread Harald Radi
PEAR wrappers can be provided my point: extensions should expose both APIs (if desired) can be done by aliasing functions to class methods - no duplicate c code when called as function - print warning when called as method - throw exception What do you guys think of this ? regards, Harald Radi

[PHP-DEV] Re: Problem with compiling Zend 1

2003-01-21 Thread Harald Radi
HEAD is not meant to compile with ZE1, check out the PHP_4_3 branch if you need ZE1 builds. harald Andrey Hristov [EMAIL PROTECTED] schrieb im Newsbeitrag news:01c701c2c172$99b03650$1601a8c0@andreywin... Hi, I am still with ZE1 - php4 (HEAD) I have this problem :

Re: [PHP-DEV] Re: php4 /ext/standard file.c formatted_print.c

2003-01-15 Thread Harald Radi
iirc the reason why i changed it to unsigned was that actually the zend engine treated it as unsigned everywhere but in that particular struct. i also remember that i discussed that with andi and that he agreed to change this in the ze2 cvs module and that the extensions should be *fixed*. i agree

RE: [PHP-DEV] Re: php4 /ext/standard file.c formatted_print.c

2003-01-15 Thread Harald Radi
From: Sascha Schumann [mailto:[EMAIL PROTECTED]] iirc the reason why i changed it to unsigned was that actually the zend engine treated it as unsigned everywhere but in that particular struct. i also remember that i discussed that with andi and that he agreed to change this in

Re: [PHP-DEV] php.exe - php-cgi.exe

2002-12-09 Thread Harald Radi
Andrei Zmievski [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am actually in favor of CLI executable being 'php'. If it's a problem on Windows, then we could possibly compromise and have the CGI version being called php.exe, but I think that it's

[PHP-DEV] Re: sapi/fastcgi

2002-12-04 Thread Harald Radi
What happens to sapi/fastcgi, now that we have FastCGI support in sapi/cgi? IMHO, it should be removed for PHP 4.3.0 already. as neither of them works you can remove both :) harald -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

RE: [PHP-DEV] Re: sapi/fastcgi

2002-12-04 Thread Harald Radi
:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 5:29 PM To: Harald Radi Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Re: sapi/fastcgi HR as neither of them works you can remove both :) What do you mean neither works? I have Zeus/PHP/FastCGI install with PHP 4.2.3 running here

[PHP-DEV] sapi/milter

2002-12-01 Thread Harald Radi
userspace) http://www.sendmail.com/partner/resources/development/milter_api/ regards, Harald Radi -- nme - we can heal you http://www.nme.at Ortner Radi Schwenk GnbR Tumpenweg 528 5084 Grossgmain, Salzburg Austria -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http

[PHP-DEV] Re: ZendEngine2 / zend_static_allocator.c

2002-08-09 Thread Harald Radi
ups, that was definitely not meant to be commited :) but having an emalloc like list of memleaks at the end of script execution is really nice, didn't know that msvc has this functionality out of the box. Andi Gutmans [EMAIL PROTECTED] schrieb im Newsbeitrag

[PHP-DEV] Re: ZE2 and Exceptions - One for Zeev/Andi

2002-06-11 Thread Harald Radi
one other (unrelated) thing : there seems to be an overlap between members of the zend_object_handlers struct and the zend_class_entry stuct (function pointers for property access and method calls). is the current state transitional (i.e. should all code going forward use only the

[PHP-DEV] Re: PHP_4_2_0 (stable) branch broken on win32

2002-06-03 Thread Harald Radi
fixed. harald Edin Kadribasic [EMAIL PROTECTED] schrieb im Newsbeitrag news:014201c20b04$d235a160$[EMAIL PROTECTED]... Compile goes fine, but linker stops with: Creating library ..\Release_TS/php4ts.lib and object ..\Release_TS/php4ts.exp COM.obj : error LNK2001: unresolved external

[PHP-DEV] Re: PHP as an ActiveScript Engine

2002-05-18 Thread Harald Radi
the more code i see the more ideas i have ;) harald. Wez Furlong [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey, I've been doing some tinkering over the last 24 hours and I've implemented IActiveScript (and friends) as a SAPI for win32/IE. What

[PHP-DEV] Re: com Problems PHP 4.2

2002-04-29 Thread Harald Radi
hi shelley, this is the wrong list for support questions. you should repost your question to php-win-help with all the required information (script, error message, ..). if you are sure that it is a bug in php and not an error in your script, then report it as a bug at http://bugs.php.net but i

RE: [PHP-DEV] Re: Addition to session-module (patch included)

2002-04-26 Thread Harald Radi
can you explain me why this affects the url_scanner ? i'm a liar;-) i know ;) no, if architected smart it would make no real difference. but - do we really want it? session-data belongs into the session. this new function just allows you to identify different

[PHP-DEV] Re: Addition to session-module (patch included)

2002-04-25 Thread Harald Radi
sounds very useful, go ahead ;) would you mind extending it that session_set_userdata(array(thies = 1, harald = 2, knorp = 100)) would be possible ? harald. Thies C. Arntzen [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED]... hi, i have made a small patch to the

RE: [PHP-DEV] Re: Addition to session-module (patch included)

2002-04-25 Thread Harald Radi
On Thu, Apr 25, 2002 at 03:04:36PM +0200, Harald Radi wrote: sounds very useful, go ahead ;) would you mind extending it that session_set_userdata(array(thies = 1, harald = 2, knorp = 100)) would be possible ? nope - that would make the url_scanner slower. but you can

[PHP-DEV] FW: Request for Interfaces

2002-04-24 Thread Harald Radi
, no pgp ! Harald Radi [EMAIL PROTECTED] schrieb im Newsbeitrag news:001d01c1ebb6$04291120$a8eafea9@KNOFFL... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Following on from my RFC about an interface mechanism, what we really need is some brainstorming on what interfaces we need

RE: [PHP-DEV] Re: Request for Interfaces

2002-04-24 Thread Harald Radi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If the general consensus is that this interface layer should be in the ZE and should work for both resources and class entries, then I'd be happy to go for it. i'm more thinking from a ZE2 point of view. it doesn't have to be integrated into

[PHP-DEV] Re: Sockets Extension Rework (API, etc...) VERY LONG

2002-02-23 Thread Harald Radi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 vs. while(($retval==socket_read($sock, $buf, $len)) 0) { // do something } if ($retval==-1) { print strerror(socket_last_error($sock)); } elseif ($retval==0) { $eof=1; print Eof has occured!!!; } what about

[PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] Re: Case sensitivity: Conclusion(?)

2002-02-08 Thread Harald Radi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Good idea. E_DEBUG may be a good alternative to php_printf(). Heh. Fine tuning errors is probably a good idea. E_PEDANTIC? what i mentioned earlier and still want to see is an E_EXTENSION for errors that are not related to script errors

[PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] [Fwd: Re: [Zend Engine 2] Case sensitivity:Conclusion(?)]

2002-02-07 Thread Harald Radi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After careful consideration on the CS issue I must say I agree with John here. The _only_ case where I feel CS is a problem, is when dealing with other environments. But the price for changing this today is simply too high. It should

[PHP-DEV] session extension

2001-12-06 Thread Harald Radi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, do you think of a possibility to add something like the zend_register_list_destructors() mechanism into your session extension to register session destructors for resources ? i'd like to implement an interface to store COM, CORBA and Java

[PHP-DEV] RE: session extension

2001-12-06 Thread Harald Radi
PROTECTED]] Sent: Thursday, December 06, 2001 7:03 PM To: Harald Radi Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: session extension On Thu, 06 Dec 2001, Harald Radi wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, do you think of a possibility to add

[PHP-DEV] RE: session extension

2001-12-06 Thread Harald Radi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You mean, when the session is destroyed it should call __destroy_callback? exactly. Anyways, don't those objects store a resource handle in their properties? The magic functions __sleep and __wakeup serialize() checks if your class has a

RE: [PHP-DEV] RE: session extension

2001-12-06 Thread Harald Radi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 But how would you specify where this code is? Sessions are destroyed out of context. ok, a __destroy method implies that the method is bound to the object, but i was thinking of a static method that gets the session information for the

[PHP-DEV] Re: 4.1.0 Final RC

2001-11-20 Thread Harald Radi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (a) RC a-la what we had until now. It will usually be in the range of weeks. i'd suggest a list where a branch is announced lets say a week before branching. i often have a few things lying around that should be in the next final but aren't

[PHP-DEV] Re: Debugging tool needed for Win32

2001-11-03 Thread Harald Radi
such a tool was available at http://www.sysinternals.com , but i don't remember the name and i don't know if it is still there. harald Sebastian Bergmann [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED]... I'm searching for a Win32 tool that shows which process wants to open

[PHP-DEV] RE: RC3

2001-10-05 Thread Harald Radi
commited to PHP_4_0_7 branch. could you recheck please. thanks, harald. -Original Message- From: Peter Dishman [mailto:[EMAIL PROTECTED]] Sent: Friday, October 05, 2001 11:16 AM To: 'Harald Radi' Subject: RE: RC3 Hi, I've just tried the latest CVS source (php4-20011005

RE: [PHP-DEV] Bug #13433 Updated: Returning Booleans from COM is broken in 407

2001-10-04 Thread Harald Radi
this is the one, has anyone tested the actual cvs version ? -Original Message- From: Derick Rethans [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 10:24 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Bug #13433 Updated: Returning Booleans from

[PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguity

2001-10-01 Thread Harald Radi
It would mean we'd need to have nested classes. or limit namespaces to only contain classes: namespace::namespace::...::class::method(); is there a reason why a namespace should contain anything other than classes ? we have static functions and static members in classes, no need for them in

[PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguity

2001-10-01 Thread Harald Radi
We don't have static members. but we will in ze2 !? And we need namespaces for constants, also. why ? class Foo { final $BAR = blah; } namespace Foo; class Bar { static function bar() { echo $Foo::BAR; } } if (Foo::Bar::bar() === $Foo::BAR) { echo juhuuu; } else { echo damn; }

[PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguity

2001-10-01 Thread Harald Radi
I'm sorry, I haven't been following all of this - is 'final' a keyword that will be available (and enforced) in ze2? i don't either, but how else will you bind constants to a class / namespace ? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguity

2001-10-01 Thread Harald Radi
i don't either, but how else will you bind constants to a class / namespace ? echo Foo::CONSTANT; yes, but how do you define them ? if it's like this: namespace Foo; define(CONSTANT, 123); it won't be a problem either because then a class can't contain such a definition (yet) and

[PHP-DEV] Re: COM problem: help

2001-09-23 Thread Harald Radi
hi crawley, please submit a bug report next time, i check them more recently than the mailinglist. 'it doesn't work' is also a poor description of the problem. looking to your interface definition i think the problem is, that you have to specify these values as VARIANT* because you can't pass

[PHP-DEV] RE: [Zend Engine 2] Re: Undefining user functions/classes at runtime?

2001-09-23 Thread Harald Radi
something like the current oo api mechanism would be useful for userland too and would possible solve markus' problem too. if you call a member on an object there could be an __invoke() method that handles all calls of unknown functions. thus $obj-foo(bar); will end in $obj-__invoke(foo, bar);

[PHP-DEV] RE: Fw: [php4win] PHP code not always processed

2001-09-14 Thread Harald Radi
in my php408dev-log i've found one message: [12-Sep-2001 16:19:42] PHP Fatal error: fatal flex scanner internal error--end of buffer missed in c:\inetpub\www8082root\templats\menu-de.php on line 51 ... but i am not sure (and because i can not reproduce it - i do not think so), if

[PHP-DEV] RE: [Zend Engine 2] Re: [PHP-DEV] API Thoughts?

2001-08-27 Thread Harald Radi
uups, i wanted to post this to the dev-list. -Original Message- From: Harald Radi [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 11:33 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [Zend Engine 2] Re: [PHP-DEV] API Thoughts? I'd prefer to code the OO

[PHP-DEV] Re: [PHP-QA] 4.0.7RC1 rolled

2001-08-16 Thread Harald Radi
could you or someone else provide a windows binary of RC1. regards harald -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] Re: profiler?

2001-08-13 Thread Harald Radi
http://dd.cron.ru/dbg this is a debugger and profiler for win and linux harald. Brian Moore [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED]... hello, i'd like to begin work on a php profiler, as my employer needs one, and i couldn't find one. have i not looked hard enough

[PHP-DEV] AW: Re[3]: [Zend Engine 2] RFD: call backtrace

2001-08-13 Thread Harald Radi
However, I think that even a simple dump will be a blessing as most PHP programmers must be quite used to print() style debugging now ;) debugger like the http://dd.cron.ru/dbg are able to show you the call stack and variable scopes even with actual php versions. so speed is more important

[PHP-DEV] Re: how do i check if a field exists

2001-08-07 Thread Harald Radi
where field_name actually exists but may not be used (null). the problem is that if it is not used then warnings are generated, even if i do;- if($myrow[field_name] != null){ $data = $myrow[field_name]; } is there any proposal to unify database extensions ? it seems that the

[PHP-DEV] could someone apply this patch

2001-08-07 Thread Harald Radi
should fix custom build steps in zend/ZendTS.dsp ZendTS.diff -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] added a few *_EXTERN_C() macro calls

2001-08-07 Thread Harald Radi
any objections commiting this ? if not, please do so, i don't have karma for the zend repository. -harald. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

[PHP-DEV] Fw: added a few *_EXTERN_C() macro calls

2001-08-07 Thread Harald Radi
uups. Harald Radi [EMAIL PROTECTED] schrieb im Newsbeitrag news:001d01c11f65$08fc8790$6500a8c0@Thinkphed... any objections commiting this ? if not, please do so, i don't have karma for the zend repository. -harald. extern_c.diff -- PHP Development Mailing List http://www.php.net

[PHP-DEV] Re: TSRM compatibility note

2001-07-30 Thread Harald Radi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi zeev, is there a short explanation of this tsrm stuff somewhere ? i'd like to know which kind of functions should take use of the tsrm features. while reviewing your changes to the ext/com module i'm stumbled into a few inconsistencies (as

[PHP-DEV] AW: fortunately it works now ..

2001-07-30 Thread Harald Radi
Multithreaded: CoInitialize() is actually in basic_functions.c not in COM.c - interestingly. i.e. the code in COM.c is called, but is the second call to CoInitialize(). CoInitializeEx() would need to be callsed if we plan to be multi-threaded. wouldn't it be evident that

[PHP-DEV] Re: Send array from php to dll make in vb 6

2001-07-22 Thread Harald Radi
I make a dll in Vb6 and it have a funcition that have a variable of type VARIANT like parameter. In the program php I call this dll and your method and send a array make in php. Occurs a error : Invoke Failed : Occured a exception, but if I pass a variable of type integer or string to

[PHP-DEV] Re: PHP 4.0 Bug Summary Report

2001-07-22 Thread Harald Radi
[EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED]... PHP 4.0 Bug Database summary - http://bugs.php.net why are duplicates listed in the bug summary ? shouldn't they be treated as 'closed' ? -harald. -- PHP Development Mailing List http://www.php.net/ To unsubscribe,

[PHP-DEV] cannot build cvs under win2k

2001-06-22 Thread Harald Radi
c:\usr\local\include\sys\unistd.h(14) : warning C4273: '__p__environ' : inconsistent dll linkage. dllexport assumed. c:\usr\local\include\sys\unistd.h(16) : warning C4273: '_exit' : inconsistent dll linkage. dllexport assumed. c:\usr\local\include\sys\unistd.h(39) : error C2061: syntax error :

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Harald Radi
new way: call_user_func(array($obj, method), method, args, go, here); ---^ isn't 'pass by reference' deprecated too ? harald. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: AW: [PHP-DEV] arrays

2001-05-14 Thread Harald Radi
Any XML-RPC implementation would benefit from seeing easily whether a value is a continous pure numeric array, associative array or a mix. It should be a trivial fix, and the performance difference is negligible. - Stig [Zeev Suraski [EMAIL PROTECTED]] Why do you need it? Nobody

AW: AW: AW: [PHP-DEV] arrays

2001-05-14 Thread Harald Radi
. -Ursprüngliche Nachricht- Von: Zeev Suraski [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 15. Mai 2001 01:52 An: Harald Radi Cc: Stig Sæther Bakken; Andrei Zmievski; [EMAIL PROTECTED] Betreff: Re: AW: AW: [PHP-DEV] arrays Ok, if we humor ourselves with this feature... What kind of behavior would

AW: AW: AW: [PHP-DEV] arrays

2001-05-14 Thread Harald Radi
An: Harald Radi Cc: Stig Sæther Bakken; Andrei Zmievski; [EMAIL PROTECTED] Betreff: Re: AW: AW: [PHP-DEV] arrays Ok, if we humor ourselves with this feature... What kind of behavior would you expect if a key gets deleted, and there are no longer associative members in the array? Zeev

Re: AW: [PHP-DEV] 4.1 Declaration Case Persistance

2001-05-10 Thread Harald Radi
Sterling Hughes [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED]... On Thu, 10 May 2001, Jani Taskinen wrote: On Wed, 9 May 2001, Sterling Hughes wrote: On Thu, 10 May 2001, Jani Taskinen wrote: This is just because some developers don't like to follow the guidelines.

[PHP-DEV] documentation

2001-05-07 Thread Harald Radi
hi, how should classes be documented ? since they are not really a function they only have a return value together with new and function/function seems to be illogical. is there also a way to document members and attributes ? is there a list of tags that are available ? -harald -- PHP

AW: [PHP-DEV] Zend API changes

2001-05-06 Thread Harald Radi
-Ursprüngliche Nachricht- Von: Zeev Suraski [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 06. Mai 2001 10:49 An: Stig Sæther Bakken Cc: Hartmut Holzgraefe; [EMAIL PROTECTED] Betreff: Re: [PHP-DEV] Zend API changes At 11:41 6/5/2001, Stig Sæther Bakken wrote: You're not

[PHP-DEV] AW: AW: [PHP-CVS] cvs: php4 /ext/dotnet dotnet.cpp

2001-05-04 Thread Harald Radi
hi, here is a patched version of php4.0.5 with the fixed com extension. http://celery.nme.at/php-4.0.5.zip regards harald -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP-DEV] api question

2001-05-02 Thread Harald Radi
when i register a destructor with zend_register_list_destructors_ex(), why is the registered function only called at the end of the script and never during processing when i do something like unset($my_obj); or $my_obj=null;. isn't it supposed to be called during execution ? harald -- PHP

[PHP-DEV] parser / compiler bug ?

2001-02-08 Thread Harald Radi
hi zeev, hope you or someone else could give me a hint. occasionally php produces no output. i don't get any assertions, runtime errors or log entries, there's simply nothing. the webserver tells me that the cgi executeable produced no output. i have this problem mainly with larger scripts that

[PHP-DEV] a debugger for php

2001-02-07 Thread Harald Radi
http://dd.cron.ru/dbg/ great ! harald. resistance is futile - nme.at -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] can't build latest cvs

2001-02-05 Thread Harald Radi
Linking... Creating library ..\Release_TS_inline/php4ts.lib and object ..\Release_TS_inline/php4ts.exp php_mysql.obj : error LNK2001: unresolved external symbol _add_assoc_null php_mysql.obj : error LNK2001: unresolved external symbol _add_index_null php_pcre.obj : error LNK2001: unresolved

AW: [PHP-DEV] variant?

2001-02-01 Thread Harald Radi
uups sorry, thought i replied to sebastian harald. -Ursprungliche Nachricht- Von: Harald Radi [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 01. Februar 2001 17:38 An: php-dev mailinglist Betreff: AW: [PHP-DEV] variant? hallo, ist im grunde ein mapping des C / CPP variant

AW: [PHP-DEV] variant?

2001-02-01 Thread Harald Radi
hallo, ist im grunde ein mapping des C / CPP variant datentyps nach php. wenn man daten an ein com-objekt als referenz ubergeben will muss man sie in ein variant-objekt kapseln, ja und dazu is das ding da, gibts nur unter win32. harald. -Ursprungliche Nachricht- Von: Sebastian

AW: [PHP-DEV] Re: PHP 4.0 Bug #8975 Updated: modulo (%) sets the ritht operator to the result

2001-01-31 Thread Harald Radi
I did'n know that '=' operator has higher priority than '%'. Is it assumed ? Is the example correct ? the % thing is done before the assignment, otherwise $i would be divided by true and the % would always return 0. harald -- PHP Development Mailing List http://www.php.net/ To

AW: [PHP-DEV] database abstraction layers [from: MySQL feature/bug]

2001-01-31 Thread Harald Radi
there exists a db abstraction layer in the PEAR (pear.php.net) harald. -Ursprngliche Nachricht- Von: Marc Boeren [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 31. Jnner 2001 16:57 An: '[EMAIL PROTECTED]' Cc: 'Mark J. Hershenson' Betreff: [PHP-DEV] database abstraction layers

[PHP-DEV] com support win32

2001-01-27 Thread Harald Radi
hi, now i've more or less fixed all open com-related bugs. i've written an additional VARIANT module that represents the C VARIANT Datatype. now you can pass this to the com-method and all works fine ... short example: ?php $cpx = new COM("TACPXSrv.CPXSrv"); // create com

[PHP-DEV] zval question

2001-01-24 Thread Harald Radi
hi, i'm tricking around with the COM extension to fix the open bugs (and of course to satisfy my requirements). there are - if (pval_arg-is_ref == 0) { ... } else { ... } - constructs in the code, but how could this parameter be influenced in the php

AW: [PHP-DEV] PHP 4.0 Bug #8744 Updated: call to header() causes CGI error

2001-01-23 Thread Harald Radi
using the latest cvs-version on Win2k / IIS 5. I hope this is a valuable hint. harald. -Ursprngliche Nachricht----- Von: Harald Radi [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 17. Jnner 2001 19:13 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: AW: [PHP-DEV] PHP 4.0 Bug #8744 Upd

AW: [PHP-DEV] PHP 4.0 Bug #8816: cross subscript object variable access

2001-01-20 Thread Harald Radi
hi, we had the same problem. the solution is to instanciate the providerclass with $provider = new ProviderClass(); another solution would be to implement a static function in your subclass that acts as a classfactory: function providerFactory($ProviderInstance) {

AW: [PHP-DEV] same functions in modules

2001-01-20 Thread Harald Radi
it should be discussed. harald -Ursprngliche Nachricht- Von: Sean R. Bright [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 20. Jnner 2001 18:27 An: 'Harald Radi'; 'PHP Developer List' Betreff: RE: [PHP-DEV] same functions in modules Could you provide some examples? -Original

AW: [PHP-DEV] PHP 4.0 Bug #8767: user name prepended to table names in query

2001-01-17 Thread Harald Radi
hi i've never worked with informix, but afaik from other 'big' DBs you have to prepend the owner of the requested object (e.g. the table) or create an alias to the object for every user that wants to access it. because if now owner is specified the client assumes that the actual user owns the