3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "I have a very romantic� and tender soul; my heart is full �of love and passion, which I desire to share with my soul-mate. I am a very caring and friendly girl. I am also intelligent and a very understanding person with good sense of humor. I have many interests. For example, sports, art, nature, photography�"; var_dump( preg_match_all('/(([a-zA-Z0-9\,\.\'\"\;\:\-\!\?]+){1,}\s{0,})+/', $s, $matches), $matches );
Output for git.master, git.master_jit, rfc.property-hooks
int(3) array(3) { [0]=> array(3) { [0]=> string(22) "I have a very romantic" [1]=> string(34) "and tender soul; my heart is full " [2]=> string(251) "of love and passion, which I desire to share with my soul-mate. I am a very caring and friendly girl. I am also intelligent and a very understanding person with good sense of humor. I have many interests. For example, sports, art, nature, photography" } [1]=> array(3) { [0]=> string(8) "romantic" [1]=> string(5) "full " [2]=> string(11) "photography" } [2]=> array(3) { [0]=> string(8) "romantic" [1]=> string(4) "full" [2]=> string(11) "photography" } }

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