3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $title = "Little Book of Days"; $upper = strtoupper($title); echo "The title in caps is:" .$upper. "."; echo "The title in lowercase is:" .strtolower($title). "."; $lower = strtolower($title); echo "The title with first character uppercase is:" .ucfirst($lower). ".";
based on 34gdH
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
The title in caps is:LITTLE BOOK OF DAYS.The title in lowercase is:little book of days.The title with first character uppercase is:Little book of days.