This article introduces PHP to you and takes you to know PHP. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.
PHP is the acronym for PHP Hypertext Preprocessor (Hypertext and Processor). This method is called recursive abbreviation.
php has many uses, especially web website development. Fast, flexible, and practical make PHP better able to develop any website.
PHP is an HTML-embedded scripting language. php files end with .php. It draws much of its syntax from C, Java, and Perl, and has several features unique to PHP. The main goal of the language is to allow web developers to quickly write dynamically generated web pages.
Server-side scripts: Main target areas. Three things are needed to carry out this work: PHP parser (CGI or server module), web server, and web browser.
Command line script: Write a php script, which only requires the php parser to execute. It is an ideal choice for those who rely on cron (linux) or task scheduler (windows) to run scripts.
Desktop application: PHP is not good at making graphical interfaces, but if the user is proficient in PHP and some advanced features of PHP, they can use php-gtk to write desktop applications.
php can be used on all major operating systems, supports most web servers, and php can work as a CGI processor.
php can output html, php, pdf, flash, xml. PHP can automatically generate these files, open up a cache of dynamic content on the server, and print them out directly, or store them in the file system.
PHP supports a wide range of databases. Use an abstraction layer such as PDO, or connect to any database that supports the ODBC standard via the ODBC extension.
PHP supports services such as LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM (Windows environment) and other protocols. Raw network ports can also be opened so that any other protocol can work together. PHP supports WDDX complex data exchange between all web development languages. Regarding inter-connections, PHP already supports on-the-fly connections to Java objects and can transparently use them as PHP objects.
PHP has extremely efficient text processing features, including Perl Compatible Regular Expressions (PCRE) and many extensions and tools for parsing and accessing XML documents.
**PHP GTK **: php develops client application C/S.
pear:php open source development kit. expand. (Similar to composer)
Recommended learning: php video tutorial
The above is the detailed content of Take you to understand php in one minute. For more information, please follow other related articles on the PHP Chinese website!