3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $nom = "john doe"; echo $nom; $nom = ucwords(strtolower($nom)); echo $nom; ?>
based on YdV3b
Output for 4.3.0 - 7.2.0
john doeJohn Doe