Guvi-blog-logo

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.

[code language=”css”]

using System;

class ExampleClass{

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

}}

[/code]

In PHP we can simple to create

[code language=”css”]

<?php echo ‘Hello World’;?>

[/code]

 

 

Contact Form

By clicking 'Submit' you Agree to Guvi Terms & Conditions.

Our Learners Work at

Our Popular Course

Share this post

Author Bio

admin
admin

Our Live Classes

Learn Javascript, HTML, CSS, Java, Data Structure, MongoDB & more
Learn Python, Machine Learning, NLP, Tableau, PowerBI & more
Learn Selenium, Python, Java, Jenkins, Jmeter, API Testing & more
Learn Networking, Security Testing, IAM, Access Management & more

Hey wait, Don’t miss New Updates from GUVI!

Get Your Course Now

Related Articles