3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set("pcre.jit", "0"); $regex = '/(^|[\n\s\>\\";]+)([^ \,"\t\n\r<>;]+\.[^ \,\"\t\n\r<]+)/iu'; $text = 'This is a normal text. http://vg.no, VG'; preg_match_all($regex, $text, $matches); print_r($matches); $text = 'This is normal text. http://vg.no, VG'; preg_match_all($regex, $text, $matches); print_r($matches);
Output for git.master_jit, git.master, rfc.property-hooks
Array ( [0] => Array ( [0] => http://vg.no ) [1] => Array ( [0] => ) [2] => Array ( [0] => http://vg.no ) ) Array ( [0] => Array ( [0] => http://vg.no ) [1] => Array ( [0] => ) [2] => Array ( [0] => http://vg.no ) )

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