Created
August 7, 2019 18:28
-
-
Save parzibyte/4f6b505bed26a9c891164d92b25e4d05 to your computer and use it in GitHub Desktop.
Capitalizar todas las palabras en PHP - https://parzibyte.me/blog/2018/10/16/primera-letra-mayuscula-minuscula-php/
This file contains 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 | |
$oracion = "el perro juega con la pelota"; | |
# Imprime El Perro Juega Con La Pelota | |
echo ucwords($oracion); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment