Converting class to library

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Converting class to library

Post by anjanesh »

Hi

Is it possible to make a php class and convert it to .lib and then use it in php -

Code: Select all

dl("mylib.lib"); // say it contains class cls1
$obj = new cls1();
$obj->foo();
Thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

read up on making extensions to php.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

What am I suppossed to be looking for in the manual ?
EDIT : Got It
Post Reply