|Idioms and phrases|
• PHP is a recursive acronym for "PHP: Hypertext Preprocessor".
• PHP is a server side scripting language that is embedded in HTML. It is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites.
• It is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.
• PHP is pleasingly zippy in its execution, especially when compiled as an Apache module on the Unix side. The MySQL server, once started, executes even very complex queries with huge result sets in record-setting time.
• PHP supports a large number of major protocols such as POP3, IMAP, and LDAP. PHP4 added support for Java and distributed object architectures (COM and CORBA), making n-tier development a possibility for the first time.
• PHP Syntax is C-Like.
• PHP performs system functions, i.e. from files on a system it can create, open, read,
write, and close them.
• PHP can handle forms, i.e. gather data from files, save data to a file, thru email you can send data, return data to the user.
• You add, delete, modify elements within your database through PHP.
• Access cookies variables and set cookies.
• Using PHP, you can restrict users to access some pages of your website.
• It can encrypt data.
The PHP parsing engine needs a way to differentiate PHP code from other elements in the page.
A PHP scripting block can be placed anywhere in the document.
You can run your PHP script on your command prompt.
Assuming you have following content in test.php file
echo "Hello PHP!!!!!";
Now run this script as command prompt as follows:
$ php test.php
It will produce following result:
• All variables in PHP are denoted with a leading dollar sign ($).
• The value of a variable is the value of its most recent assignment.
• Variables are assigned with the = operator, with the variable on the left-hand side and the expression to be evaluated on the right.
• Variables can, but do not need, to be declared before assignment.
• Variables in PHP do not have intrinsic types - a variable does not know in advance whether it will be used to store a number or a string of characters.
• Variables used before they are assigned have default values.
• PHP does a good job of automatically converting types from one to another when necessary.
• PHP variables are Perl-like.
Top Aptitude topicsNumbers
Profit & loss
Time & distance
Time & work
Top GK topicsGeneral
Facts & Reasons
Days and years
Top Tech topicsAdobe CQ5
Top Vocabulary topicsSentence completion
Idioms and Phrases
High frequency words
Top ArticlesPig and Hive (Comparison)
Ramanujan Number - 1729
Interesting facts - Set 1
Interesting facts - Set 2
Interesting facts - Set 3
100 facts about tigers