PHP Series – 001 – Hello World


  • PHP means Hypertext Preprocessor.
  • PHP is a programming language,it is simple to learn,simple to write,simple to read and simple to debug.
  • PHP is a serverside scripting language that has its main implementation in web development.
  • PHP has effectively a garbage collected environment.
  • It is a combination of web browser and webserver.
  • Example for PHP



The main difference between PHP and Other languages are :-

1.PHP variables are started with Doller sign($)

2.PHP has only two numerical types.



3.C,C++ is a compiled language and PHP is a interpreted language.

Example for compiled and interpreted language is


The simple helloworld program make the difference between php and other languages.

using System;

class ExampleClass{

static void Main(){Console.WriteLine("Hello, world!");


In PHP we can simple to create

<?php echo 'Hello World';?>



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s