PHP first section PHP Introduction _php Foundation

Source: Internet
Author: User
Tags php language php framework php introduction zend framework

What is PHP:

PHP is a kind of script language running on the computer, her founder is Rasmus Loedorf, the first two PHP version is developed by this person; The purpose of developing PHP language is simpler, is to maintain personal web pages, statistical flow, etc. On June 8, 1995, the author released her, which is open source, in order to accelerate the development and optimization.

What is the application scenario for PHP:

PHP is a widely used language, especially in the development of network programs. In general, PHP is mostly performed on the server side, and the PHP program is used to generate Web pages that provide browser reads, and can also be exploited to develop command line scripts and user-side GUI applications. PHP can be implemented on many different kinds of servers, operating systems, platforms, and also with many database systems. There is no cost to using PHP, yes, she is completely free, the official organization of the PHP Group provides a complete program source code, allowing users to modify, compile, expand to use.

What are the main data types for PHP:

PHP consists of the following four scalar types:

    • Integral type (integer)
    • Floating-point type (float)
    • Boolean (Boolean)
    • Strings (String)

Two types of composite:

    • Arrays (Array)
    • Objects (object)

Two special types of

    • Null
    • Resources (Resource)

What are the common library functions in PHP:

A powerful language, relying on a clear and powerful library of functions and class libraries, built-in diversity of functions is one of the main features of PHP, these open code functions provide a variety of different functions, such as file processing, FTP, string processing, and so on. The use of these functions is similar to the C language (for example, printf), which is one of the reasons why PHP is widely popular.

In addition to the built-in functions, PHP also provides a number of extended function libraries (extension), such as various database connection functions, data compression functions, graphics processing and so on. Some extension function libraries need to be obtained from the PECL (PHP Extension Community Library).

What are the main open source frameworks for PHP:

The official PHP framework for Zend Framework,2005 has been in its mature stage since its inception, although there is controversy over the direction of the PHP framework, but the use of the framework in actual production is widespread.

Other common PHP frameworks are: Yii, CodeIgniter, cake, Symfony, qeephp/fleaphp, thinkphp, and so on, which enables faster, simpler deployments and more agile development efficiencies for projects , but on the other hand, learning the use of these frameworks requires additional learning costs.

What is the mainstream version of PHP:

PHP from 1.0.0 to today's 5.*.*,6.0 is also in development, while 5.2.10 is no longer maintained and optimized; The main version now is 5.3.10 and 5.4.0.

Major version Reference.

Reference Source:

Wikipedia

PHP Manual

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.