first commit
This commit is contained in:
8
Helper/Input.php
Normal file
8
Helper/Input.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
function input(string $info): string
|
||||
{
|
||||
echo "$info : ";
|
||||
$result = fgets(STDIN);
|
||||
return trim($result);
|
||||
}
|
||||
Reference in New Issue
Block a user