jcomin / phpobfuscator

Automatically exported from code.google.com/p/phpobfuscator
0 stars 0 forks source link

Unable to exclude class name #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm trying to encode a handy class I've written so I can use it on other's
web site without having them take my work and re-using it themselves.  In
order to do this the class name need not be encoded along with all public
functions.  I've done this with a trial of the old software and was going
to purchase and use it but it's now gone and replaced with a newer, free
version which has lost some of its capabilities.

----
What steps will reproduce the problem?
----

1. Encode a class file that contains

class MyClass {
   public function __construct() {
      // Do something
   }
}

2. Attempt to include and instantiate this class in another file.

----
What is the expected output? What do you see instead?
----
I expected to be able to exclude the class name so the class can still be
referenced in outside code.

----
What version of the product are you using? On what operating system?
----

Version 0.1.0.0 running on MSFT Windows Vista

----
Please provide any additional information below.
----

Original issue reported on code.google.com by tlind...@gmail.com on 1 Jul 2009 at 2:26