3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match_all("/.*(user1).*(user2).*(user3).*(user4).*(user5).*/", "user1 user2 user3 user4 <> user5", $matches); echo "<pre>"; print_r($matches); echo "</pre>";
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
<pre>Array ( [0] => Array ( [0] => user1 user2 user3 user4 <> user5 ) [1] => Array ( [0] => user1 ) [2] => Array ( [0] => user2 ) [3] => Array ( [0] => user3 ) [4] => Array ( [0] => user4 ) [5] => Array ( [0] => user5 ) ) </pre>
Output for hhvm-3.10.0

Process exited with code 153.