You cannot include PHP code like that. It is a XSS, client side exploiting. PHP is executed server side.
Injecting JS should be easy. Just put it. If there is no WAF or any kind of filters, it should work.
About file inclusion, it says Arbitrary File Download, not inclusion. So that will not work to execute PHP code.