I'm trying to create my first module and I am having a bit of trouble. Is
there any example modules available I could review to get a better
understanding of how to write them?
Thanks
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a set of functions within an extension that is called automatically
by the ZEND engine framework to "initialize" and "deinitailize" the
extension?
In a particular PHP script, a user may call a method that sets up an
environment. I cannot always rely on the user to call the cleanup API
me
I have been able to create objects in a function call in my extension and
use them in my php page; however I would rather do something like:
$myobj = myfunc();
echo $myobj->property;
How am I suppose to return an object from a function?
--
PHP Internals - PHP Runtime Development Mailing Lis
I want to have a function that returns an object that essentially looks like
the following:
$user->name; // string that holds name of user
$user->from; // string that holds where user is from
$user->update(); // method that updates changed user data to db (**unsure
how to code this)
In my php scr
And I should also mention I'm trying to do this for PHPv4 and not v5.
I'm not sure if that affects how the coding is done or not as I'm
quite new to all this.
- Original Message -
From: "Alan Knowles" <[EMAIL PROTECTED]>
To: "Chris Cranford&qu
Is there any particular commenting style in a PHP extension that lends
itself to being used for documentation like there is with java and a
javadoc?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
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 Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.
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 Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.ph
On 2/25/2005 2:28 PM, [EMAIL PROTECTED] wrote to CHRIS CRANFORD:
Where si the second_arg_force_ref argument defined? I tried to define an
argument block but I kept getting compiler issues. An example would be nice.
I followed what I saw on zend.com but no cigar.
Chris
-> look at
->