[PHP] PHP Extensions Pass-By-Reference

2005-02-25 Thread Chris Cranford
I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to pass variables by reference to my function without enabling call-time pass by reference in the PHP.INI file? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Extension Arrays

2005-02-20 Thread Chris Cranford
If I have a function that creates an array using add_assoc_string and then adds it to the return value as add_property_zval, then how do I iterate over the array and get the key and its value? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Extension Help

2005-02-14 Thread Chris Cranford
I'm trying to write a PHPv4 extension and I am needing some assistance. I wish to have a function exported from my extension return a value which consists of a set of properties and functions much like so: // Gets user record from database store. $MyUser = GetUser(); echo Your name is: