Compared to strongly typed languages like Swift, Go, C or Java, you don’t need to declare the types of your variables.īeing interpreted and loosely/dynamically typed will make bugs harder to find before they happen at runtime. (These also happen to be compiled – the two characteristics often go hand in hand.) The types of variables are checked at runtime, rather than before the code is executed as happens for statically typed languages. You tell the interpreter to run the program. The PHP interpreter is responsible for interpreting the instructions written in a PHP program when it’s executed. Those languages are compiled and the compiler generates an executable program that you then run. If you’ve used compiled languages like C or Go or Swift, the main difference is that you don’t need to compile a PHP program before you run it. PHP is often called a “scripting language” and it’s an interpreted language. For example interpreted/compiled, strongly/loosely typed, dynamically/statically typed. Programming languages are divided into groups depending on their characteristics. Or you can use it as a Web Application engine that creates HTML pages dynamically and sends them to the browser.ĭid you know Facebook is powered by PHP? Ever heard of Wikipedia? Slack? Etsy? What Kind of Language is PHP? You can use PHP to add a little interactivity to an HTML page. It became popular later on, in 1997/8, and exploded in the 2000s when PHP 4 landed. He didn’t know at the time it would eventually become one of the most popular programming languages in the world. It was first created in 1994 by Rasmus Lerdorf to build his personal website. PHP is a programming language that many devs use to create Web Applications, among other things.Īs a language, it had a humble beginning. Note that you can get a PDF, ePub, or Mobi version of this handbook for easier reference, or for reading on your Kindle or tablet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |