search

Home  >  Q&A  >  body text

php - 如何用各种编程语言书写hello world

我先来个php的

<?php
echo 'hello world';
黄舟黄舟2787 days ago3737

reply all(34)I'll reply

  • 黄舟

    黄舟2017-04-10 13:13:32

    LISP:

    (DEFUN HELLO()
      "HELLO WORLD"
    )

    Small Talk:

    Transcript show: 'Hello, world!'.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-10 13:13:32

    Javascript:

    document.write("Hello, world!");

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-10 13:13:32

    Erlang:

    io:format("Hello, world~n").

    reply
    0
  • 怪我咯

    怪我咯2017-04-10 13:13:32

    Perl:

    print "Hello, World.\n";

    reply
    0
  • 怪我咯

    怪我咯2017-04-10 13:13:32

    我接触的第一门语言 Pascal:

    program Bonjour;
    begin
        writeln('Bonjour le monde');
    end.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-10 13:13:32

    ASP:

    <% Response.Write "Hello World" %>

    reply
    0
  • 黄舟

    黄舟2017-04-10 13:13:32

    Bash:

    #!/bin/bash
    echo 'Hello World!'

    Prolog:

    write('Hello World!'), nl.

    BASIC:

    PRINT "Hello World"

    reply
    0
  • 阿神

    阿神2017-04-10 13:13:32

    SQL算吗

    SELECT "Hello World!"

    reply
    0
  • PHPz

    PHPz2017-04-10 13:13:32

    来个全部的

    https://github.com/leachim6/hello-wor...

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-10 13:13:32

    来个古董级的, Batch

    @echo hello world!
    @echo off
    pause

    reply
    0
  • Cancelreply