Page 1 of 1

Converting class to library

Posted: Thu Jan 12, 2006 1:10 am
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

Posted: Thu Jan 12, 2006 1:48 am
by feyd
read up on making extensions to php.

Posted: Thu Jan 12, 2006 1:59 am
by anjanesh
What am I suppossed to be looking for in the manual ?
EDIT : Got It