Hello,
I was wondering how early a zend_eval_string call can be made.
Currently it works fine in a PHP_FUNCTION(), but was hoping to put it in
a PHP_MINIT() in hopes of it just executing once.
It seems PHP_MINIT() is too early, and is causing failures. I came
across PHP_GINIT_FUNCTION(
y its only being executed once.
BTW, I expect my "Extending and Embedding PHP" book to be here
tomorrow, so hopefully these questions ( especially if they are
obviously answered there will come to a end :-) ) .
Matthew C. Rice
--
PHP Internals - PHP Runtime Development
!!!
Matthew C. Rice
Marcus Boerger wrote:
Hello Matthew,
I gave a bunch of tutorials on this with various other folks, Johannes,
Sara, Wez. The slides from November 2007 are still up and contain probably
more information than you ever wanted to know. There is also the demo
extension that you
Sara
Golemon had here, http://devzone.zend.com/node/view/id/1024 , which
unfortunately never makes it to the "Part IV" on Objects it notes was
coming up ( a few years ago now ).
Never the less, thanks again!
Matthew C. Rice
Nathan Nobbe wrote:
On Fri, Feb 20, 2009 at 3:02 PM,
way, but a way to go about doing
what you want can be done in the PHP_MINIT_FUNCTION() with something like
zend_declare_property_string(zend_class_entry* ce, char* name, int
name_length, char* value, ZEND_ACC_PRIVATE);
Matthew C. Rice
David M. Patterson wrote:
Hello all.
I am attem
Nathan,
Thanks a bunch. That was exactly what I was looking for. Is there
any place you would consider a good resource to learn/get documentation
for these functions?
Matthew C. Rice
Nathan Nobbe wrote:
On Fri, Feb 20, 2009 at 12:31 PM, Matthew C. Rice wrote:
Hello everyone
mbinations of zend_hash_find() && zend_hash_update() to no avail. Is
there anyone that might be able to point me in the right direction as to
how to do this?
Matthew C. Rice
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php