Re: another crazy idea
> 1) just how difficult (ok, you already know it is...) would it be to "allow"
> php to access some Java classes? ie:
>
> <?
> $myinstance = java MyClass("a", "b"); /* maybe "java" could
> work like "new" ...
> maybe extend
> this to a "com" operator as well? */
> $myinstance.MyFunc();
> $myinstance.fubar = 12;
> ?>
I am no big Java expert, but I don't see how this would work. I don't
thikn it is possible to write a native C program which calls a Java class
running in a JVM, but I could be wrong here. If you can come up with a
example of this working, then it can be done in PHP.
-Rasmus
Thread (15 messages)