3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/_[0-9a-z]{24}(*SKIP)(*FAIL)|[a-z]+(?:_[a-z]+)*/'; $str = 'hello word some_stuff other_stuff_607eea770b6d00003d001579 something'; preg_match_all($re, $str, $matches); var_export($matches[0]);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 'hello', 1 => 'word', 2 => 'some_stuff', 3 => 'other_stuff', 4 => 'something', )

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