Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

LOCAL HOST

"localhost" refers to a web server running on the local


machine that is being used for development purposes.
This is often used for testing and debugging web
applications before they are deployed to a production
server.
When a web server is running on "localhost", the
website can be accessed using a web browser with the
address "http://localhost" .

XAMPP
XAMPP stands for "cross-platform (X), Apache (A), MySQL (M), PHP (P), and Perl (P)".
XAMPP is a free and open-source software package that provides a complete web
development environment on your local computer. It includes Apache, PHP, MySQL.
PHP has three types of variable scopes:

1. Local variable
2. Global variable
3. Static variable

Local variable

The variables that are declared within a function are called local variables
for that function.

Global variable

The global variables are the variables that are declared outside the
function.

Static variable

It is a feature of PHP to delete the variable, once it completes its execution


and memory is freed.
PHP TOOLS

Apache: Apache is a popular open-source web server that can run PHP scripts.

Xdebug: Xdebug is a debugging tool for PHP that allows you to debug your PHP code

PHPDoc: PHPDoc is a documentation tool for PHP that allows you to generate
documentation for your PHP code.

XAMPP: XAMPP is a free and open-source software package that provides a complete
web development environment on your local computer. It includes Apache, PHP,
MySQL.

PHPStorm: PHPStorm is an Integrated Development Environment (IDE) for PHP. It is


widely used by PHP developers to write and maintain PHP code.

You might also like