3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '<pre>'; preg_match('/^(LEFT JOIN|RIGHT JOIN|INNER JOIN|JOIN)(?: +)([^ ]+)(?: +)ON(?: +)(.*)$/i', 'JOIN Skill ON Skill.SkillID = EmployeeSkill.SkillID', $matches); print_r($matches);

preferences:
55.07 ms | 402 KiB | 5 Q