3v4l.org

run code in 200+ 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 - 7.2.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.