Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
A program can not be executed without providing some informations to the user.
An elegant way to do it would be to use a function taking a message as parameter, displaying it to the user with some formatting.
Here are some hints, but you really should try to find by yourself.
Click to see some hints
To display some informations, you can use PHP built-in functions such as:
Click to see a way to implement it
function write(string $message)
fwrite(STDOUT, $message . PHP_EOL);
write("I am a first sentence.");
write("I am a second sentence.");
Enter to Rename, Shift+Enter to Preview
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content