PHP is a programming language as Java, C#, C++.
PHP is a scripting language, server side language, high level programming language and web programming language.
It is also a general purpose programming language that can be used to develop any type of application on any platform.
PHP stands for “PHP: Hypertext Preprocessor”. It was created by Rasmus Lerdorf in 1994 while he was working at the University of Waterloo in Canada. He wrote it from scratch without using an existing interpreter/compiler or other tools as many other languages did at that time. The acronym PHP comes from his friend's suggestion: Personal Home Page (the initial script was intended for his personal website).
The code of PHP is first parsed by the Zend Engine, which produces the intermediate code that is executed by the virtual machine (Zend Engine). The virtual machine (Zend Engine) is the component that takes care of executing your code.
PHP is a server side scripting language. It stands for Hypertext Preprocessor. PHP is also called as PHP: Hypertext Preprocessor and its code is first parsed by the Zend Engine, which produces the intermediate code that is executed by the virtual machine (Zend Engine). The virtual machine (Zend Engine) is the component that takes care of executing your code.
In simple words, if you want to build something like Facebook or Yahoo! Or Gmail, then this will be very useful for you because it’s an open source language and available free with almost every web host company these days.
For example, Java is not a scripting language, because every java program requires compilation before running and also you must compile your source code before you can run it. A scripting language will be interpreted and/or executed by your script host (for example php.exe).
Oops! Click Regenerate Content below to try generating this section again.
Also note that a scripting language may have an optional compilation step, if you want to optimize it for faster execution. So some people consider PHP as a scripting language, but not only.
PHP is a scripting language. You can use it by typing the code in the browser and execute it on the server side.
PHP is also considered as a compiled language, but this compilation step is optional and you can use PHP without compiling it.
Also note that a scripting language may have an optional compilation step, if you want to optimize it for faster execution. So some people consider PHP as a scripting language, but not only.
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.