PHP Declaration Style Tag


Declaration Style Tag Supported By PHP

We have four types of declaration style tag:

Universal Tag
This tag is supporting all functionality of PHP.

Syntax:
Short Open Tag
It is a short cut to the universal style tag but it support very few functionality of PHP.

Syntax:
ASP Style Tag
This syntax supports PHP script along with ASP script.

Syntax:
Script Style Tag
We can use Java declaration syntax to place PHP script.

Syntax:
By default we can’t execute ASP Style Tag and Short Open Tag properly because we have to configure settings. PHP configuration setting file (php.ini) those are short_open_tag and asp_tag. The default value of these settings are OFF. By changing the value as ON, we can execute these tags.

If you modify the configuration setting first we should save that file then restart sever to update the modification.
PHP Declaration Style Tag PHP Declaration Style Tag Reviewed by Abdul iTech on Thursday, February 21, 2019 Rating: 5

No comments:

Powered by Blogger.