How to compile php script to .net class using phpc ...
Posted: January 15th, 2014, 5:53 am
Hi,
I just want to know how to compile a php code to .net dll using the command line: phpc myclass.php /target:dll /pure+
but without appending [\Export] in the class code:
[\Export]
class myClass
{
public function f()
{
return "Hello World";
}
}
I don't want to append [\Export] because it is very tiresome. I have a lot of php classes to compile to .net dlls . please help.
I just want to know how to compile a php code to .net dll using the command line: phpc myclass.php /target:dll /pure+
but without appending [\Export] in the class code:
[\Export]
class myClass
{
public function f()
{
return "Hello World";
}
}
I don't want to append [\Export] because it is very tiresome. I have a lot of php classes to compile to .net dlls . please help.