3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sString = ' Bonjour, M.Gombert N°06737401 Récréditation : Demande N°17217851 du 10/12/13 (N° de tel erroné Mail sans réponse) Je vous est prévenu le 15/12/13 M.Gombert '; $sString = str_replace("\n", "", $sString); $sString = str_replace("\t", "", $sString); $sString = str_replace("\v", "", $sString); $sString = str_replace("\r", "", $sString); $sString = preg_replace('/{.*}/', '', $sString); // CSS? $sString = preg_replace('/[^a-zA-ZÀ-ÿ0-9]+/', " ", $sString); $sString = trim($sString); $string = preg_replace('/\s+/', ' ', $sString); echo $string; $aWords = explode(' ', $string); print_r($aWords);
Output for git.master, git.master_jit, rfc.property-hooks
Bonjour M GombertN°06737401 Récréditation Demande N°17217851 du 10 12 13 N° de tel erroné Mail sans réponse Je vous est prévenu le 15 12 13 M GombertArray ( [0] => Bonjour [1] => M [2] => GombertN°06737401 [3] => Récréditation [4] => Demande [5] => N°17217851 [6] => du [7] => 10 [8] => 12 [9] => 13 [10] => N° [11] => de [12] => tel [13] => erroné [14] => Mail [15] => sans [16] => réponse [17] => Je [18] => vous [19] => est [20] => prévenu [21] => le [22] => 15 [23] => 12 [24] => 13 [25] => M [26] => Gombert )

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:
50.88 ms | 402 KiB | 8 Q