Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function writeSecretSentence(string $animal, string $thing): string
- {
- return "$animal s'incline devant $thing <br>";
- }
- echo writeSecretSentence('l\'animal', 'la chose');
- echo writeSecretSentence('l\'autre animal', 'une autre chose');
- echo writeSecretSentence('un dernier animal', 'une chose pas pareille');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement