Ex5 - 31
This commit is contained in:
16
Aufgabe_31/ex.php
Normal file
16
Aufgabe_31/ex.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
class Ex
|
||||
{
|
||||
function ShowMessage(string $str)
|
||||
{
|
||||
echo "<p>Dies ist die Nachricht: ".$str."</p>";
|
||||
}
|
||||
|
||||
function GiveNumber()
|
||||
{
|
||||
echo "<p>Hier eine Zufallszahl: ".random_int(0,100)."</p>";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user