3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = '{"8":"2020-06-L-1.txt","9":"2020-06-L-2.txt","10":"2020-06-L-3.txt","11":"2020-06-L-4.txt","12":"2020-06-L-5.txt","15":"2020-06-N-3.txt","16":"2020-06-N-4.txt","17":"2020-06-N-5.txt","18":"2020-06-N-6.txt","19":"2020-06-O-1.txt","20":"2020-06-O-2.txt","21":"2020-06-O-3.txt","22":"2020-06-O-4.txt","23":"2020-06-S-1.txt","24":"2020-06-S-2.txt","25":"2020-06-S-3.txt"} '; $fileArray = json_decode($s, true); $fileFilterPattern = "/....-..-L-.\.txt/"; foreach($fileArray as $k => $v) { if(!preg_match($fileFilterPattern, $v)) { unset($fileArray[$k]); } } print_r($fileArray);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [8] => 2020-06-L-1.txt [9] => 2020-06-L-2.txt [10] => 2020-06-L-3.txt [11] => 2020-06-L-4.txt [12] => 2020-06-L-5.txt )

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