Last active
October 7, 2023 19:41
-
-
Save alexandreelise/6135b3e20eb96af08c89d843951ee202 to your computer and use it in GitHub Desktop.
Tiny hungry foodie php script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Tiny hungry foodie php script | |
* | |
* @package tinyhungryfoodie | |
* @author Mr Alexandre J-S William ELISÉ <[email protected]> | |
* @copyright (c) 2009 - present . Mr Alexandre J-S William ELISÉ . Tous droits réservés. | |
* @license MIT | |
* @link https://apiadept.com | |
*/ | |
do{ | |
echo 'I am hungry: ' . PHP_EOL; | |
$input = fgets(STDIN); | |
echo 'Miam! Miam! : ' . $input . PHP_EOL; | |
}while($input !== ('end' . PHP_EOL)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment