answersLogoWhite

0

Php is text based. You therefore can not compile it but you maybe able to convert it by writing the basic functions and rewriting it out in any other language.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

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.


Why do you select the php for doing project?

It depends on personal choice. The reason PHP is used so extensively is probably cause it is platform independent, open-source, syntax is simple, it supports language interoperability through xml & json and a lot of frameworks and cms are available that too free of cost.


What is php plus plus?

PHP++ is an object-oriented version of the PHP programming language. ++ is used in programming to increment a variable by one so it means an improved version of PHP.


How do you encrypt PHP source code?

There are many options to encode and encrypt PHP source code, the most common one being Zend Guard. However it must be noted that using any encryption method will require that the server on which the application is run to have the correct extension to decrypt and decode the PHP source code. An alternative to encryption is to compile to bytecode. Bytecode is used as intermediate by the compiler, so it has no problem using it, and it provides a little speed boost (one step is already completed). Bytecode is less secure because the code is not encrypted, but simply rendered into a format hard to read for humans but native to computers.


Can a php file be valid without any php code?

PHP files are HTML files with any amount of PHP intermingled into it, so the file can be empty or only contain HTML and be valid, yes.


Expansion for php?

Not sure what you are asking but... PHP stands for PHP Hypertext Preprocessor. or are you wondering about extensions to the language, if so there are many. you can start here: http://pecl.php.net/


What are semantics in PHP?

PHP is related with HTML. HTML can be included into PHP script as well as PHP script can be included into HTML code. PHP begins and ends with <?php ?>. PHP is mix of few languages so semantics is mixed too.


I have a HTML website I want to use a php script I have but the main php file has the info in it and I want it to be on the HTML site how can I embed or use the php code without using frames?

change the extention of the .HTML file to .php and then open the file that was previously HTML and put <?php include ("path/to/second/php/file.php"); ?> so for example if i have page1.HTML and page2.php i rename page1.HTML to page1.php and then put <?php include ("page2.php"); ?> where i want page2 to appear. Note: Any HTML file can be renamed to have a .php extention even if it doesnt contain any PHP.


How run php?

I have provided you with a two links that will take you through how to install PHP on your computer and how to setup a server so you can run your PHP code. See the relevant link below


What program can read php file?

PHP files are plain text, so you can read them with your text editor or IDE of choice.


Why PHP programming is so much important?

If you are involved in web development you would require to use a server side language. PHP is one of the many server side languages available freely and the coding is not that difficult for php. It is not a iron clad rule that you have to use PHP for web development but the cost of developing and deploying websites using php is less so that is something worth thinking about.


How can you stop pixels bleeding with in php?

PHP is a server-side scripting language, which actually has little to do with pixels on your users' computers; so there is no real way to stop pixel bleeding in PHP.