i want to convert the java code to php code .If any idea plz help me. I have one reference website is there to convert java to php code.But i run like that i got the below error.plz see once whats the mistake in that.
Call to undefined function java_require() in C:\wamp\www\aaaa.php on line 3
I’m not sure where they got that “java_require()” idea from.
Try this: http://php.net/manual/en/java.examples.php
Nevertheless, it will not convert the code but rather execute it.
When i run the your example code i got the following error
Fatal error: Class ‘Java’ not found in C:\wamp\www\ est\javatophp.php on line 3
plz tell that whats the mistake in that
Nah, just mis-informed/presumptuous.
Migrating Java code to PHP is straight forwards, going in the other direction is harder. The main issue going from Java to PHP however is that many Java applications will be built on top of large frameworks like Struts, Spring and Hibernate so you would need more than the basic language support.