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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d138h
function name:  (null)
number of ops:  10
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     '%3Cpre%3E'
    4     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E%28LEFT+JOIN%7CRIGHT+JOIN%7CINNER+JOIN%7CJOIN%29%28%3F%3A+%2B%29%28%5B%5E+%5D%2B%29%28%3F%3A+%2B%29ON%28%3F%3A+%2B%29%28.%2A%29%24%2Fi'
          3        SEND_VAL                                                 'JOIN+Skill+ON+Skill.SkillID+%3D+EmployeeSkill.SkillID'
          4        SEND_REF                                                 !0
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.56 ms | 1409 KiB | 17 Q