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.<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>"));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.<BR>the quick brown fox jumps over the lazy dog<br>The quick brown fox jumps over the lazy dog.<br>The Quick Brown Fox Jumps Over The Lazy Dog.<br>