Working state

This commit is contained in:
DarkFeather
2019-04-15 15:58:35 -05:00
parent 4310ab7323
commit 151648f44f
15 changed files with 147 additions and 53 deletions

29
HelloWorld.php Normal file
View File

@@ -0,0 +1,29 @@
<?php
# File: helloworld.php
#
# Description: This file exemplifies printing 'Hello world!' in PHP.
#
# Package: AniNIX::Foundation/HelloWorld
# Copyright: WTFPL
#
# Author: DarkFeather <darkfeather@aninix.net>
### String to print
$helloWorld="Hello world!";
### <summary>
### Prints 'Hello world!'
### </summary>
function PrintHelloWorld() {
global $helloWorld;
echo $helloWorld."\n";
}
### MAIN
if ( basename(__FILE__) == "HelloWorld.php") {
PrintHelloWorld();
}
?>