Mar
13

Hello World

13 Mar 2009 by tonie in General, PHP

I'll start my blog with a little more detailed, or twisted version of the famous generic "Hello World" trivia.

Here we go!

<?php
class helloworld {
    function greet($msg) {
        echo $msg;
    }
}
$hi = new helloworld(); 
$hi->greet('Hello World!'); ?>

hello world, php

Speak your mind ( 0 Comments)

If you liked the article and want to contribute to it, please feel free to leave your comment. HTML tags are not allowed, but you can use the following BBCode to enhance your message: [url] [quote] [code] [b] [i] [u] [color].