3v4l.org

run code in 500+ PHP versions simultaneously
<?php $savePath = 'tls://127.0.0.1:6379?auth=password&timeout=2.5'; $tryMatch = preg_match('#(?:(^.*)://)?([^:?]+)(?:\:(\d+))?(\?.+)?#', $savePath, $matches); var_dump($matches);
Output for git.master_jit, git.master, rfc.property-hooks
array(5) { [0]=> string(46) "tls://127.0.0.1:6379?auth=password&timeout=2.5" [1]=> string(3) "tls" [2]=> string(9) "127.0.0.1" [3]=> string(4) "6379" [4]=> string(26) "?auth=password&timeout=2.5" }

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:
41.39 ms | 1155 KiB | 4 Q