[PHP-DEV] understanding resources

2002-06-13 Thread Joel Dudley
Hello all, I need to write a molecular visualization extension for PHP to complete a project I am working on. It will have to work somewhat like GD by creating a resource, having other functions operate on that resource, and then output an image. I have trouble finding a good explanation of

Re: [PHP-DEV] understanding resources

2002-06-13 Thread fabwash
resource (a zval, a struct, or whatever). The third argument is the resource destruction handler type. - Original Message - From: Joel Dudley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 12:37 PM Subject: [PHP-DEV] understanding resources Hello all, I need

Re: [PHP-DEV] understanding resources

2002-06-13 Thread fabwash
is the resource type you got back when you registered the resource destructor. - Original Message - From: fabwash [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Joel Dudley [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 5:46 PM Subject: Re: [PHP-DEV] understanding resources http://www.php.net/manual

Re: [PHP-DEV] understanding resources

2002-06-13 Thread Alan Knowles
] To: [EMAIL PROTECTED]; Joel Dudley [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 5:46 PM Subject: Re: [PHP-DEV] understanding resources http://www.php.net/manual/en/zend.variables.resource.php will be a starting point. Basically you want to do this: 1) Create a destruction