calling php functions as library or cmd line
| From: | Cere Davis | Date: | Thu, 13 Jan 2005 14:46:43 +0000 |
| Subject: | calling php functions as library or cmd line | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-206332@lists.php.net to get a copy of this message | ||
Does anyone know how to write php libraries in a modular way so that you
can both test the libraries/functions on the command line with arguments
and/or use the php library as a part of your web code with 'require_once()'
syntax? Sort of like how Python or Ruby works?
Thanks,
Cere