How To Hello World With Golang

  1. Make a go file. For example main.go
  2. Add the following lines


	package main import "fmt"

    func main() {
	    fmt.Println("hello world")
	}

	

run go file


go run main.go

or build


go build main.go
./main

How to Hello world on Php !

  1. Make a php file for example ex1.php
  2. and put the following lines
<?php
echo "Hello World ! \n";
?>

…and run ex1.php check output