3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urls = ['<meta name="description" content="&#x200e;ST. Eye Clinic - &#x639;&#x64a;&#x627;&#x62f;&#x629; &#x62f;&#x643;&#x62a;&#x648;&#x631; &#x645;&#x62d;&#x645;&#x62f; &#x639;&#x632;&#x628; &#x644;&#x637;&#x628; &#x648; &#x62c;&#x631;&#x627;&#x62d;&#x629; &#x627;&#x644;&#x639;&#x64a;&#x648;&#x646;&#x200e;, Dumyat Al Jadidah, Dumyat, Egypt. 20,956 visits &#xb7;', '<meta name="description" content="ABC. 2,894,865 visits &#xb7;']; foreach ($urls as $url) { if (preg_match('~\d[,\d]*(?=\s*visits)~', $url, $matches)) { echo $matches[0] . PHP_EOL; } }
Output for git.master, git.master_jit, rfc.property-hooks
20,956 2,894,865

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:
125.34 ms | 405 KiB | 5 Q