Edit report at https://bugs.php.net/bug.php?id=62397&edit=1
ID: 62397 Comment by: krzf83 at gmail dot com Reported by: spamik at yum dot pl Summary: disable_functions = eval does not work Status: Not a bug Type: Bug Package: *General Issues PHP Version: 5.3.14 Block user comment: N Private report: N New Comment: "eval is not a function but language construct" - that might be the reason why disable_functions don't work on it now but that does not mean it could not or should not. I would not dismiss this isssue so easily. Eval problem caused that php is currently (almost) only one language is so often infected. It allows for attacker to hide code, purpose, use ecodings (like base64) to diminish any hope of detection by searching for common traits (like antivirus software does). Eval is a functionality of php and could be disabled if apropriate modifications to php source code were made. Previous Comments: ------------------------------------------------------------------------ [2012-06-23 12:52:55] bobwei9 at hotmail dot com Why can't you simply add a new core directive for disabling this language construct? ------------------------------------------------------------------------ [2012-06-23 12:29:45] larue...@php.net as I said, eval is not a *function*, so disable_*functions* has no effect to eval.. ------------------------------------------------------------------------ [2012-06-23 10:56:33] anon at anon dot anon A reason why a bug exists is not a reason why it is not a bug. ------------------------------------------------------------------------ [2012-06-23 09:14:58] larue...@php.net eval is not a function, if you want to disable it, you may refer to Suhosin thanks ------------------------------------------------------------------------ [2012-06-23 07:28:04] reeze dot xia at gmail dot com eval is not a function but language construct http://php.net/eval so it cannot be disabled by adding it to disable_functions ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=62397 -- Edit this bug report at https://bugs.php.net/bug.php?id=62397&edit=1