PHP Series – 001 – Hello World

INTRODUCTION OF PHP

  • 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

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.

integer

double

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

Example for compiled and interpreted language is

php1

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';?>

 

 

You may also like...

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x