Home > PHP > Hello World Example

Hello World Example

No site would be complete without the textbook hello world example…so here it is 😀

<?php

/**
 * Hello World Example
 */

function foo($bar){
     print $bar;
}

$bar = 'Hello World';
foo($bar);

?>
Categories: PHP Tags:
  1. No comments yet.
  1. No trackbacks yet.
*