At each time I write PHP code in blocks and views, I always think about this question : "What are the downsides of using 'custom' PHP code in blocks, nodes, views-args, etc?".
Is it a great idea to make users able to send php files instead of writting it. It would be a first step to manage the code after with name conventions to find the code easily and to be also able to read easily the code?
Or it's just a stupid idea that will generate a security mess ??
eval()
disabled in PHP. I can think of no reason to use it, but there could be reasons I'm not thinking off. My suggestions is that you rather ask "How do I implement feature X without php-filter". – Letharion Feb 22 at 9:35php.module
is still in D8 core. I could swear there was talk of removing it. – Chapabu Feb 22 at 9:53