answersLogoWhite

0

Converting PHP code into Java code would not work correctly; The two languages work in two completely different ways, rendering such a tool practically useless.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Website of free java project to be download with source code?

which Website for free java project to be download with source code Free Download Project in asp.net,Java ,C#.Net ,Php on thisWebsite www.enggroom.com


What are Perl PHP and Java Servlet's?

Perl, php and Java are all examples of programming languages.


What is meant by Open Source Is Java Open Source or not?

as the word implies OPEN SOURCE --it is open to all or it is publically available to all anyone can make changes to the source code as it is available to all EX - PHP,APACHE,MY sql, java is not open source -siddharth mishra


Why is php runable on Linux?

PHP is a technology in itself and like JAVA it is open source and platform independent. It has got its own interpreter. So as long as you have a LAMP server you need not worry about the os system


The PHP syntax is similar to which languages?

Its similar to a number of languages such as C, C++, Java and Perl.


What is the difference between PHP and struts?

STRUTs is a framework of technology of java based on JSP/Java Servlets PHP is another server scripting language


What is the difference between PHP and JSP?

They are different technologies - JSP stands for Java Server Pages, where PHP means PHP: Hypertext Preprocessor... Basically, they do the same thing - generate webpages, but JSP scripts are programmed in Java, and PHP scripts in PHP, which are completely different scripting languages. PHP is usually used in small to medium-sized projects, where Java tends to be percieved as a more "enterprisey" (aimed at large projects).


Example of dynamic webpage and its source code?

There are many programming languages in which you can write dynamic web pages - python, PHP, java, etc. A very simple example is given in the PHP tutorial for beginners - see related links.


Which is best for a fresher Java or PHP?

PHP is very sufficient option for a fresher because its easy to learn.


What is the purpose of the Planet source code?

The Planet Source Code website is dedicated to providing millions of lines of source code examples and thousands of tutorials. Programing languages covered include PHP. Java, C++, SQL and Delphi.


What is the tool of PHP?

There is no specific tool but You can use Dreamweaver


How do you import others codes in java?

using servlets, php, and database we can connect import codes into java


How do you use settime out in php?

we cant use set timeout function in php because it is of java script function


How do you preview PHP source output?

The only true form of previewing PHP source output is to run the PHP script in question.


How do you compile php code?

To compile PHP code, you do not use a traditional compiler like you would with languages such as C++ or Java. PHP is an interpreted language, meaning the code is executed directly by the PHP interpreter. To run PHP code, you need a web server with PHP installed, such as Apache or Nginx. The PHP interpreter reads the code, processes it, and generates the output dynamically.


Is COM and Java Applets supported by PHP?

Yes. See the references.


How can you embed a Java program in PHP webpage?

In the output stream (i.e. using echo), output an "embed" tag (or if using older HTML, the "applet" tag). Note that the Java will run on the client, not on the server, meaning that PHP variables, etc, will not be available to it.


What are the differences between PHP and Java Programming?

Java is primarily used to create desktop applications/software while PHP is used to make web applications/websites.Ofcourse both support website/web and desktop applications but you would find very few who interchange those two.Java is complex while PHP is a bit simpler.Java has a massive library while PHP has a small but quite useful library.Generally speaking JAVA developer earns more then PHP counterpart


Which has more jobs Java or PHP?

I suppose you will find more jobs if you are good with Java since many softwares are written in Java language whereas on the other side if you are inspired by internet then you should look forward to PHP which is a very sophisticated language for web world.


How do you equate a php variable to a javascript variable?

Ideal thing would be to retrieve the value from PHP using AJAX and then assigning it to a java script variable. Thereafter compare it to the java script variable that is already present.