ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
HelloWorld.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
30 class HelloWorld extends Base
31 {
32  public function enter(): int
33  {
34  echo "entry point \"" . $this->getName() . "\" says: \"Hello World!\"\n";
35  return 0;
36  }
37 }
A simple entrypoint that just says hello, for testing and documentation purpose.
Definition: HelloWorld.php:30
enter()
Pass program execution to this entry point.
Definition: HelloWorld.php:32