Re: [PHP-DEV] Need help in defining a class from C code.

2006-01-26 Thread Marcus Boerger
Hello Kiput, Why not put it in pecl under the php license or that copyright only thing? Thursday, January 26, 2006, 11:30:17 PM, you wrote: > Hi. > Sorry, I didn't mean to insult anyone here. I love PHP, but it's > internals are undocumented, and are really hard to work with for > someone witho

Re: [PHP-DEV] Need help in defining a class from C code.

2006-01-26 Thread Kiput
Hi. Sorry, I didn't mean to insult anyone here. I love PHP, but it's internals are undocumented, and are really hard to work with for someone without prior experience. That's why I'm writing this wrapper - to make it easy to embed PHP into other apps. It's a shame that no one wrote something like

Re: [PHP-DEV] Need help in defining a class from C code.

2006-01-26 Thread Marcus Boerger
Hello Kiput, look into ext/spl/spl_array.c or here: http://talks.somabo.de & nobody stops you from making it less messy if you think it is, this is all open source. Wednesday, January 25, 2006, 3:31:07 PM, you wrote: > Hi. > I'm currently working on a tiny "wrapper" in C++ which will aid

Re: [PHP-DEV] Need help in defining a class from C code.

2006-01-26 Thread Jeremy Johnstone
Kiput, Even if you are right about the state of the PHP/Zend code/documentation (which I am not commenting on either way), it's definitely not a wise idea to insult the very people who wrote that code when asking for their assistance. With that said, if no one else steps up with a code snippet bef

[PHP-DEV] Need help in defining a class from C code.

2006-01-25 Thread Kiput
Hi. I'm currently working on a tiny "wrapper" in C++ which will aid in easy embeding PHP in C++ apps. Till now I managed to work on it without any help, but this time I need your help guys - I'm tired of that messy, undocumented PHP/Zend code. Could anyone (I'm sure it's 5 minutes of work, since m