lang:

PHP

regex:

require\s?(\(|'|\"|$).*\\$.*$

description:

Potential file inclusion with file sourced from a variable.
tags:
file include require
results