3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = "/(?<=^\S|\s\S|\s)[RD]/"; $str = "-D-K4_NNNN_M116_R1_001.gz _D-K4_NNNN_M56_R1_001.gz R-K4_NNNN_KQ9_R1_001.gz D-K4_NNNN_M987_R1_001.gz _R-K4_NNNN_M987_R1_001.gz"; preg_match_all($re, $str, $matches); echo '<pre>'; print_r($matches); echo '</pre>';
Output for git.master, git.master_jit, rfc.property-hooks
<pre>Array ( [0] => Array ( [0] => D [1] => D [2] => R [3] => D [4] => R ) ) </pre>

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.73 ms | 1513 KiB | 4 Q