3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $nom = "doe"; $prenom = "john"; //echo $nom; //$nom = ucwords(strtolower($nom)); //echo $nom; $courrielBody = '<tr><td>'; $courrielBody .= 'Bonjour '. ucwords(strtolower($prenom.' '.$nom)).', <br /><br />'; echo $courrielBody; ?>
based on 31DJ9
Output for 4.3.0 - 7.2.0
<tr><td>Bonjour John Doe, <br /><br />