[PHP-DEV] Re: zval "passthrough"?

2005-10-10 Thread David Olsson
contain zval pointers pointing to invalid memory I understand but I don't get why it gets emptied. Any ideas? Best regards David Olsson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: zval "passthrough"?

2005-10-06 Thread David Olsson
the map with new instead of emalloc but should that make any difference (except for larger risks for memory leaks)? Thanks in advance! David Olsson Sara Golemon wrote: I'm writing a PHP extension in C++ which need to provide a function which will take as a parameter a zval *. This z

[PHP-DEV] zval "passthrough"?

2005-10-04 Thread David Olsson
guess it is a really simple task once you known how do actually do it... :-) Thankful for all help! David Olsson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Extension silently fails

2005-09-22 Thread David Olsson
! David Olsson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Missing symbol upon loading module

2005-09-21 Thread David Olsson
Nevermind. The config.m4 was messed up so that the module never linked against libstd++ which, of course, caused som missing symbols. Best regards David Olsson David Olsson wrote: I have a PHP extension written in C++ which I use for parsing and building WbXml documents. I have tested

[PHP-DEV] Missing symbol upon loading module

2005-09-21 Thread David Olsson
xml.cpp TextXmlDocument.cpp tinystr.cpp tinyxml.cpp tinyxmlerror.cpp tinyxmlparser.cpp WbXmlDocument.cpp XmlAttribute.cpp XmlDocument.cpp XmlElement.cpp XmlHandle.cpp XmlNode.cpp XmlText.cpp, $ext_shared) fi VERY grateful for any tips on how to proceed. Best regards David Olsson -- PHP Internals -

[PHP-DEV] serialize extension objects?

2005-07-05 Thread David Olsson
at someone could point me in the right direction. Or have I completely misunderstood the entire concept; when storing a reference to an object (implemented in C/C++), do the object really have to be serialized? Thanks for all tips! :-) Best regards David Olsson -- PHP Internals - PHP Runtime D