How to compile of PHP file?

#1

I have created a class in PHP, that contains some useful methods. Now I want to give it to my client so that he can be able to use it just like server control in asp.net instead of providing code file.
How can I compile the PHP file and provide it to my user in the form dll or may be with other type or extension?

Please reply
Thanks in advance.

#2

You don’t; You give him the php file or upload the code to paste bin or something.