php-extension
Convert Zval to char*
I want to convert Zval to ch开发者_开发问答ar*. how do i do that in my php extension?It the zval represents a string, you can use Z_STRVAL (or Z_STRVAL_P/Z_STRVAL_PP if you have a zval*/zval**).[详细]
2023-01-14 10:29 分类:问答_COOKIE Info on the server Side
I want to get the cookie information stored using setcookie function in the source code of the php.. not the php开发者_如何转开发 source code.. What is the corresponding C code for _COOKIE[\'xx\'];[详细]
2023-01-14 08:38 分类:问答Convert a class to an extension
I have a PHP class I want to convert to a PHP extension. I checked some tutorials (tuxradar\'s writing extensions, php.net\'s extending php, and zend\'s extension writing) and it\'s a bit complicated.[详细]
2023-01-14 04:29 分类:问答Accessing Session variables in /ext/mysql extension
I have declared a structure that look like typedef struct { char* key; char* value; }kvPair; and in the session structure, i declared a variable as[详细]
2023-01-13 18:38 分类:问答Tidy2.0 extension [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.[详细]
2023-01-12 14:28 分类:问答PHP Extension : Module 'hello' already loaded in Unknown on line 0
My development environment: Linux - Linux localhost.localdomain 2.6.9-42. apache:2.2.4 php:5.2.3 I wrote a php extension hello.[详细]
2023-01-12 09:08 分类:问答Compiling PHP with modified DEBUG_ZEND level
I\'m debugging a PHP extension and found this while poking through the PHP source code: #if DEBUG_ZEND>=2[详细]
2023-01-12 05:47 分类:问答Resource garbage collected too early
I\'ve created a PHP extension with SWIG and everything works fine, but I\'m observing some strange garbage collection behavior when chaining method calls. For example, this works:[详细]
2023-01-12 02:44 分类:问答Memory leak from SWIG-generated extension
I\'m having a memory leak problem wrapping a C++ library in PHP using SWIG. It seems to happen when callbacks from C++ containing complex types are sent to PHP while directors are enabled. Here is a s[详细]
2023-01-10 03:35 分类:问答Build environments for PHP extensions?
Looking for development frameworks for creating custom PHP Extensions. PHP4Delphi looks promising. And there\'s the usual Visual St开发者_高级运维udio route. Are there any others?I use simple text edi[详细]
2023-01-10 00:33 分类:问答