What the are features of PHP?

PHP language has support features of other languages like c, Perl and etc. It also has some unique features of it’s own. Some of them are listed below in this article.
In PHP there is no need to specify data type for variable declaration. Rather, it can be determined at the time of execution depends on the value of the variable. So that, PHP is called as loosely typed language.
PHP provides cross platform compatibility, unlike some other server side scripting language.
PHP has set of pre defined variables called superglobals which will be start by _. Some of the examples are, $_GET, $_POST, $_COOKIE, $_SESSION, $_SERVER and etc. So, any variable except superglobals, that are start with _ will cause error.
PHP programming structure includes variable variables; that is, the name of the variable can be change dynamically.
This language contains access monitoring capability to create logs as the summary of recent accesses.
And then, it includes several magic methods that begins with __ character which will be defined and called at appropriate instance. For example, __clone() will be called, when the clone keyword is used.
Predefined error reporting constants are available to generate a warning or error notice. For example, when E_STRICT is enabled, a warning about deprecated methods will be generated.
PHP supports extended regular expression that leads extensive pattern matching with remarkable speed.
And then, properties like, nowdocs and heredocs are used to delimit some block of context which should not be sent for parsing.
Since PHP is a single inheritance language, the parent class methods can be derived by only one directly inherited sub class. But, the implementation of traits concept, reduce the gap over this limitation and allow to reuse required method in several classes.
 
PHP language has support features of other languages like c, Perl and etc. It also has some unique features of it’s own. Some of them are listed below in this article.
In PHP there is no need to specify data type for variable declaration. Rather, it can be determined at the time of execution depends on the value of the variable. So that, PHP is called as loosely typed language.
PHP provides cross platform compatibility, unlike some other server side scripting language.
PHP has set of pre defined variables called superglobals which will be start by _. Some of the examples are, $_GET, $_POST, $_COOKIE, $_SESSION, $_SERVER and etc. So, any variable except superglobals, that are start with _ will cause error.
PHP programming structure includes variable variables; that is, the name of the variable can be change dynamically.
This language contains access monitoring capability to create logs as the summary of recent accesses.
And then, it includes several magic methods that begins with __ character which will be defined and called at appropriate instance. For example, __clone() will be called, when the clone keyword is used.
Predefined error reporting constants are available to generate a warning or error notice. For example, when E_STRICT is enabled, a warning about deprecated methods will be generated.
PHP supports extended regular expression that leads extensive pattern matching with remarkable speed.
And then, properties like, nowdocs and heredocs are used to delimit some block of context which should not be sent for parsing.
Since PHP is a single inheritance language, the parent class methods can be derived by only one directly inherited sub class. But, the implementation of traits concept, reduce the gap over this limitation and allow to reuse required method in several classes.

I agree with your answer.
 
some of the unique features of PHP
Loosely Typed Language
Cross Platform Compatibility
Real-Time Access Monitoring
Extended Regular Expression
 
PHP code can be simply mixed with HTML code, or it can be used in combination with various templating engines and web frameworks. PHP code is usually processed by a PHP interpreter, which is usually implemented as a web server's native module or a Common Gateway Interface (CGI) executable. After the PHP code is interpreted and executed, the web server sends resulting output to its client, usually in form of a part of the generated web page; for example, PHP code can generate a web page's HTML code, an image, or some other data. PHP has also evolved to include a command-line interface (CLI) capability and can be used in standalone graphical applications.

I completely agree with you
 
Main Features of PHP

1. Loosely Typed Language – PHP supports variable usage without declaring its data type. It will be taken at the time of the execution based on the type of data it has on its value.
2. Cross-Platform Compatibility – It is used to create the desktop application by using advanced PHP features.
3. variable variables – PHP allows changing the variable name dynamically by using variable variables.
4. Real-Time Access Monitoring – PHP provides access logging by creating the summary of recent accesses for the user.
5. Magic Method – PHP has built-in methods starts with __ (double underscore). These methods can’t be called directly. Rather, it will be called on the event basis. For example, __clone() will be called, when the clone keyword is used.
6. Error Reporting – It has some predefined error reporting constants to generate a warning or error notice. For example, when E_STRICT is enabled, a warning about deprecated methods will be generated.
7. Extended Regular Expression – PHP provides REGEX methods with extensive parsing and pattern matching mechanism with remarkable speed.
8. now docs and heredocs String – PHP provides the new docs and heredocs properties are used to delimit some block of context. now does and heredocs are same except the context in the heredocs allow variable parsing.
9. Traits – PHP is a single inheritance language. The traits concept is used to cover inheritance limitation and support inheritance at multiple levels.
 
Well php can be mixed with html , its a very dynamic language . Php has a very large library with many built in functions. Its mainly meant for server side scripting working with data , posts and databases. Php allows pages to become dynamic , which allows for a standard html to adjust itself based on many variables, instead of writing a few hundred html files , you can write a few php files. Php is also to a lesser extent used to create api's . Most people make us of oop and mvc
 
Main Features of PHP

1. Loosely Typed Language – PHP supports variable usage without declaring its data type. It will be taken at the time of the execution based on the type of data it has on its value.
2. Cross-Platform Compatibility – It is used to create the desktop application by using advanced PHP features.
3. variable variables – PHP allows changing the variable name dynamically by using variable variables.
4. Real-Time Access Monitoring – PHP provides access logging by creating the summary of recent accesses for the user.
5. Magic Method – PHP has built-in methods starts with __ (double underscore). These methods can’t be called directly. Rather, it will be called on the event basis. For example, __clone() will be called, when the clone keyword is used.
6. Error Reporting – It has some predefined error reporting constants to generate a warning or error notice. For example, when E_STRICT is enabled, a warning about deprecated methods will be generated.
7. Extended Regular Expression – PHP provides REGEX methods with extensive parsing and pattern matching mechanism with remarkable speed.
8. now docs and heredocs String – PHP provides the new docs and heredocs properties are used to delimit some block of context. now does and heredocs are same except the context in the heredocs allow variable parsing.
9. Traits – PHP is a single inheritance language. The traits concept is used to cover inheritance limitation and support inheritance at multiple levels.

Very detailed description of pho features and advantages.
 
Some features are as follow:-
Generates dynamic page content
Create, open, read, write, delete, and close files on the server
Collect form data
Send and receive cookies
Add, delete, modify data in your database
Encrypt data

Php generates dynamic paste content that is one of the best feature where you can make it Interactive with users.
 
Back
Top