Created
December 21, 2019 02:15
-
-
Save andreia/e37e6d4a819e450056fc64d24027b1c9 to your computer and use it in GitHub Desktop.
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 | |
$text =u('This is a déjà-vu situation.') | |
->trimEnd('.') | |
->replace('déjà-vu', 'jamais-vu') | |
->append('!'); | |
// $text = 'This is a jamais-vu situation!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment