Php calls c # How do I call functions in c # Using php ?? Which of the following is a trick? ------ Solution -------------------- function? Then you can only write a dll and call php ------ solution ------------------ write php extension does not ............ If it is written, you will not have this question; do not use php to call c #
How can I use php to call functions in c ?? Which of the following is a trick?
------ Solution --------------------
Function?
You can only write a dll and call it for php.
------ Solution --------------------
I can write php extensions ............
You won't have this question if you write it;
If not, check the relevant documents first.
------ Solution --------------------
1. confirm that. net is installed on your server.
2. confirm that the com_dotnet extension has been loaded.
Test code in the manual
$ Stack = new DOTNET ("mscorlib", "System. Collections. Stack ");
$ Stack-> Push (". Net ");
$ Stack-> Push ("Hello ");
Echo $ stack-> Pop (). $ stack-> Pop ();