3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_numerics ($str) { preg_match_all('/\d+/', $str, $matches); sort($matches); return $matches[0]; } $one = "aclCheckDate('20050950', '==') or aclCheckDate('20050922', '==') or aclCheckDate('20050923', '==') or aclCheckDate('20050926', '==') or aclCheckDate('20050927', '==') or aclCheckDate('20050928', '==') or aclCheckDate('20050929', '==') or aclCheckDate('20050930', '==')"; print_r(get_numerics($one));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 20050950 [1] => 20050922 [2] => 20050923 [3] => 20050926 [4] => 20050927 [5] => 20050928 [6] => 20050929 [7] => 20050930 )

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:
65.49 ms | 401 KiB | 8 Q