3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //all uppercase letters print(strtoupper("the quick brown fox jumps over the lazy dog.\n")); //all lowercase letters print(strtolower("THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG")); // make a string's first character uppercase print(ucfirst("the quick brown fox jumps over the lazy dog.")); // make a string's first character of all the words uppercase print(ucwords("the quick brown fox jumps over the lazy dog.")); ?>
Output for 4.3.0 - 7.1.0
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG. the quick brown fox jumps over the lazy dogThe quick brown fox jumps over the lazy dog.The Quick Brown Fox Jumps Over The Lazy Dog.