3v4l.org

run code in 300+ PHP versions simultaneously
<?php //all uppercase letters print(strtoupper("the quick brown fox jumps over the lazy dog.<br>")); //all lowercase letters print(strtolower("THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG<br>")); // make a string's first character uppercase print(ucfirst("the quick brown fox jumps over the lazy dog.<br>")); // make a string's first character of all the words uppercase print(ucwords("the quick brown fox jumps over the lazy dog.<br>")); ?> - See more at: http://www.w3resource.com/php-exercises/php-string-exercises.php#sthash.9bO3CwzA.dpuf

preferences:
35.85 ms | 402 KiB | 5 Q