Restructuring tests
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
<?php
|
||||
|
||||
# File: HelloWorld.php
|
||||
#
|
||||
# Description: This file exemplifies printing 'Hello world!' in PHP.
|
||||
#
|
||||
#
|
||||
# Description: This file exemplifies printing 'Hello, World!' in PHP.
|
||||
#
|
||||
# Package: AniNIX/HelloWorld
|
||||
# Copyright: WTFPL
|
||||
#
|
||||
#
|
||||
# Author: DarkFeather <ircs://aninix.net:6697/DarkFeather>
|
||||
|
||||
|
||||
### String to print
|
||||
$_helloWorld="Hello world!";
|
||||
$_helloWorld="Hello, World!";
|
||||
|
||||
### <summary>
|
||||
### Prints 'Hello world!'
|
||||
### Prints 'Hello, World!'
|
||||
### </summary>
|
||||
function PrintHelloWorld() {
|
||||
function PrintHelloWorld() {
|
||||
global $_helloWorld;
|
||||
echo $_helloWorld."\n";
|
||||
|
||||
|
Reference in New Issue
Block a user