Page 1 of 1

Writing extensions.

Posted: Thu May 07, 2009 10:38 am
by kaisellgren
Hi,

I have a few question about writing PHP extensions.

Can an extension affect the way the execution of a script goes?

Is it possible for an extension to change values of variables?

Can I grab the contents of data that were pushed to functions like mysql_query()?

If this kind of stuff can be achieved with extensions, then I am really interested.

Re: Writing extensions.

Posted: Sat May 09, 2009 6:37 pm
by david64
Are you talking about Pear? If so I would give it a miss since it is being dumped for PHP6. Not sure what's going to be used instead.

I've not done anything with extensions, but I'd image they probably would be able to do what you have mentioned about picking up data going to/from PHP functions.