i want to know how i can write php function in c (like strtoupper). if is there any tutorial please put it here
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To write a function in C, that can be used from PHP, you’ll have to write an extension.
There are not that many informations about that available, unfortunatly…
Still, searching through my bookmarks, here are the links I found :
And, if you are really interested by the subject, and ready to spend some money on it, you could buy the book Extending and Embedding PHP (some pages are available as preview on Google Books too) ; I’ve seen a couple of times that it was the book to read when interested on this subject (In fact, I’ve bought it some time ago, and it’s an interesting read)
BTW, the author of that book is also the author of the first four articles I linked to 😉