Created
August 30, 2017 20:05
-
-
Save mayomi1/2cc1da57257dfbbf2cdfe1ee55ef2a9b 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 | |
$x = dog | |
echo strlen($x);//this print the number of number of letters in the variable | |
echo ucwords($X);//this converts the first character of each word in a string to uppercase | |
echo ucfirsts($x);//Converts the first character of a string to uppercase | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment