3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $title = "Little Book of Days"; echo "The title in caps is:" .strtoupper($title). "."; echo "The title in lowercase is:" .strtolower($title). "."; $lower = strtolower($title); echo "The title with first character uppercase is:" .ucfirst($lower). ".";
Output for 4.3.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.