Re: [PHP] Re: question regarding Reflection

2005-11-03 Thread Jochem Maas
4 things you need to look into: 1. is_file() and is_readable() 2. $argv (contains what was passed along with the cmdline) 3. __autoload() 4. include_path (.ini setting) I trust that you capable of STFW and RTFM well enough to take those 4 and make a start at creating something that resembles 'cl

Re: [PHP] Re: question regarding Reflection

2005-11-02 Thread Curt Zirzow
On Wed, 02 Nov 2005 10:29:25 -0800, Manish Marathe wrote: > ... > My current problem is this: Below is some chunk of the scrip I am writing > to generate test code. > > include_once "Company.php"; > > class TestGenerator { > > public function TestGenerator() { > > > } > public function catchRe

Re: [PHP] Re: question regarding Reflection

2005-11-02 Thread Manish Marathe
On 11/1/05, Curt Zirzow <[EMAIL PROTECTED]> wrote: > > On Tue, 01 Nov 2005 14:31:12 -0800, Manish Marathe wrote: > > > ... > > My question is to use the Reflection API, I need to import the original > > class for which I am generating tests. For example to generate a tests > for > > class Company w