[ticket/12262] Also find vars array when it's defined in the trigger_event()

PHPBB3-12262
[ticket/12262] Fix location list for acp events with "Locations:"

PHPBB3-12262
[ticket/12262] Split php binary searching into new test case

PHPBB3-12262
[ticket/12262] Test exporting the events

PHPBB3-12262