Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
Introduction UsageA Sample CodeOutputData TypesSpeed OptimizationResources
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
PHP is scripting language that was originally designed for web development to produce dynamic webpages.
For this purpose, PHP code is embedded into HTML
PHP was created by Rasmus Lerdrof in 1995 PHP originally stood for “PERSONAL HOME PAGE”
What is PHP ?
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
PHP is a general purpose scripting language that is especially suited to server-side web development where php generally run on a web serve.
PHP code in a requested file is executed by the PHP runtime, usually to create dynamic web page content
PHP is also used for command line scripting and client-side GUI application
PHP can be deployed on most web servers, many operating systems and platforms, and xan be used with many relation database management systems.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
<html> <head><title> PHP Test </title> </head> <body> <?php echo “Hello World”; ?> </body>
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
PHP is only parses code within its delimiters. Anything outside its delimiters is sent directly to the output and is not processed by PHP.
The most common delimiters are <? Php to open and ?> <script language=“php”> </script> <?= ( which is used to echo back to string or variable) and ?> < % or < % = and %>
Here the Out put is “Hello World”.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
PHP stores whole numbers in platform-dependent range.
This range is typically that of 32-bit signed integers. Unsigned integer are converted to signed value in certain situation.
Arrays can contain element of any type that handle in PHP
Include resources, objects and even other arrays
PHP also supports strings which can be used with single quotes, or heredoc syntax.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
PHP script are stored as human readable source code and are compiled on-the-fly to an internal format that can be executed by the PHP engine
Code optimizers aim to reduce the runtime of the complied code by reducing its size and making other changes that can reduce the execution time with the goal of improving performance.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
PHP include free and open source libraries PHP is a fundamentally internet aware system Many database servers, embedded SQL
libraries such as embedded postgre SQL, MySQL and SQLite, LDAP servers, and others.
PHP allows developers to write extensions in C to add functionality to the PHP language
These can than be compiled into PHP or loaded dynamically at runtime.
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
ADDRESS: SCO -15, Dayal Bagh, Near Hanuman Mandir Ambala Cantt-133001 HaryanaPh. No.: 9729666670, 8222066670 &0171-4000670Email ID: [email protected]: www.batracomputercentre.com
Ph. No.: 8222066670, 4000670 Website: www.batracomputercentre.com
Recommended