note 95078 rejected from function.bcompiler-write-class by danbrown
| From: | danbrown@php.net | Date: | Sat, 12 Dec 2009 18:41:48 +0000 |
| Subject: | note 95078 rejected from function.bcompiler-write-class by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-163887@lists.php.net to get a copy of this message | ||
Note Submitter: hittudiv at gmail dot com
----
To encrypt classes or functions, currently i have to copypaste the code of
class XX{
}
bcompiler_write_class($fp,XX);
to a tmpfile.php and run it
Anyhow I write all the classes in a seperate class folder in my application.
can i somehow give the filename to a function and get things done instead of copypasting the entire
class in each and every file to a tmpfile?
or..tell me how can i identify the presence of a class in a php file?