[PHP] Problem with hashtable in globals ZTS

2001-06-21 Thread Gilles Koffmann
Hi, I'm writing an extension to php. After changing my code to have thread safe globals , my extension is crashing and I can't figure out what it is: typedef struct { HashTable array_dl_handle; /* hash user dll name -> handle, getobject, getcompiler, destroyobject */ HashTable array_compiler;

[PHP] Delphi and PHP : problem returning parameter to script

2001-05-23 Thread Gilles Koffmann
Hi, I' have implemented in Delphi part of the ZEND API for extensions based on the example in the document in http://www.zend.com/apidoc/p2.php. My problem is that I'm not getting back my value (2) in my php script : ... ... this script prints in the browser : We sent "2" and got "" , but th

[PHP] using Delphi code with PHP

2001-05-22 Thread Gilles Koffmann
Hi, I'm trying to use some Delphi code with PHP without using COM (objective is to port it to linux). The first clue I have is that I have to create a DLL/so with a get_module() function entry. Does any documentation exists describing the process of creating your own dll for use with PHP. Thank