PHP (Foreign name: Hypertext Preprocessor, Chinese name: "Hypertext Preprocessor") is a common open source scripting language. Grammar absorbs the features of C, Java and Perl, is easy to learn and widely used, and is mainly applicable to web development.
1 language analysis PHP's unique syntax mixes the syntax of C, Java, Perl, and PHP's own creation. It can execute Dynamic Web pages more quickly than CGI or Perl. Dynamic pages made in PHP are compared to other programming languages, and PHP is executed in HTML (an application under the standard Universal Markup Language), which is much more efficient than CGI, which generates HTML markup entirely; PHP can also execute post-compilation code, Compilation can achieve encryption and optimize code execution, making code run faster3 Development tools The integrated development environment is an integrated development environment that integrates the main tools needed in the software development process, including but not limited to code highlighting, code completion, debugging, build, versioning, and so on. Some of the common PHP Ides are as follows:
- Zend Studio: Commercial Edition, Zend official, based on eclipse
- Eclipse with PDT: free
- Coda: Commercial edition, for Mac users
- NetBeans: Free, powerful
- PHP Storm: Business Edition
- Aptana Studio: Free
- Phped: Commercial Edition
- Komodo Ide/edit:ide is a commercial version, Edit is free to use
- Adobe Dreamweaver: Business Edition
In addition to the integrated development environment, a common text editor with code highlighting is often chosen as a development tool because of its lightness and flexibility, such as: notepad++, EditPlus, Sublimetext, Everedit (Chinese development) and so on.4 features PHP features include: 1. PHP's unique syntax mixes C, Java, Perl, and PHP's self-innovative syntax. 2. PHP can be faster than CGI or perl to perform dynamic pages-dynamic pages, compared to other programming languages, PHP is to embed the program into the HTML document to execute, the efficiency of the implementation of the full HTML markup is more efficient than CGI; PHP has a very powerful function, All CGI features PHP can be implemented. 3. PHP supports almost all popular databases as well as the operating system. 4. The most important thing is that PHP can be used in C, C + + program extension!5 Advantages OpenRelease source codeAll of the PHP source code is actually available.Free SexPHP itself is free and open source code compared to other technologies. FastCzech sexThe program develops fast, runs fast, and the technology itself learns fast. Embedded in HTML: Because PHP can be embedded in the HTML language, it is relative to other languages. Easy to edit, practical and more suitable for beginners. Acrosshighly platform-basedSince PHP is a server-side script that can run on Unix, LINUX, WINDOWS, Mac OS, Android and other platformsHigh RatePHP consumes a fairly small amount of system resources. Figurelike processingUsing PHP to create images dynamically, PHP image processing uses GD2 by default. It can also be configured to use image magick to process images.Object OrientedIn PHP4,PHP5, the object-oriented aspect has been greatly improved, and PHP can be used to develop large commercial programs. DesignedIndustry FocusPHP supports scripting languages and is the same Class C language.
What is PHP