PHP Tutorials

Introduction to PHP

We thought of giving you a very basic introduction to PHP before actually going through it’s different topics one by one. When we hear the word PHP,  the first question arises what is PHP? PHP stand for Hypertext Preprocessor. PHP is a server side scripting language, which helps us in...

Variable scopes in PHP

As we already had a very brief and sweet introduction to PHP, we will now check out the different variable scopes in PHP. So there are basically three variable scopes in PHP, which are: Local – Any variable declared within a function. Static – Any local variable that can live...

How to install PHP

Before starting with PHP, it’s important that you are aware of how to install PHP on your local system, so you can start coding right away. The installation needs setting up the web server first. For that, you need to download the latest version of XAMMP here. Install it straightaway as any...

Datatypes in PHP

As we already know about the Variable Scopes, let’s check out the supported data types in PHP. There are a total of 8 datatypes in PHP, which helps us identify the type of data a particular variable holds. There happens an implicit conversion of datatypes in PHP, which means that we don’t specify the...

Strings in PHP

What we know about Strings in Java, Strings in PHP also mean the same. We can say a String to be a sequence of characters. A simple PHP String declaration looks like: [crayon-5b7b23209bc50960971570/] However, there is a slight difference between specifying a String value in double quotes and a String value in single...
Receive our updates to your inbox

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.