3v4l.org

run code in 300+ PHP versions simultaneously
<?php$prenom = 'éo marie chéarles';$nom = 'Léa Maji';$prenomEnMinuscule = \mb_strtolower($prenom, 'utf8');$prenom = \mb_strtoupper(\mb_substr($prenomEnMinuscule, 0, 1, 'utf8'), 'utf8').\mb_substr($prenomEnMinuscule, 1, null, 'utf8');echo $prenom.' '.mb_strtoupper($nom, 'utf8').PHP_EOL;
Output for git.master, git.master_jit, rfc.property-hooks
<?php$prenom = 'éo marie chéarles';$nom = 'Léa Maji';$prenomEnMinuscule = \mb_strtolower($prenom, 'utf8');$prenom = \mb_strtoupper(\mb_substr($prenomEnMinuscule, 0, 1, 'utf8'), 'utf8').\mb_substr($prenomEnMinuscule, 1, null, 'utf8');echo $prenom.' '.mb_strtoupper($nom, 'utf8').PHP_EOL;

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
34.99 ms | 402 KiB | 8 Q