Home >Backend Development >PHP Tutorial >Getting started with PHP - PHP syntax

Getting started with PHP - PHP syntax

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-28 08:26:551382browse

1. Introduction to PHP
(1) PHP: Chinese name, hypertext preprocessor, is a general open source scripting language;
(2) Introduction to Dreamweaver

(3) Four delimiters

Standard style: ;
Short tag style: ;
By default, the short tag style is not supported. You must enable support for short tags in the PHP configuration file (php.ini) ;
In the configuration file, search for "short_open_tag", change the parameter to On, and restart the Apache server;
asp style: <% %>;
By default, asp style delimiters are not supported, and they must be set in the configuration file Enable support for asp tags in (php.ini);
In the configuration file, search for "asp_tags", change the parameter to On, and restart the Apache server;
Script style: