Please sign in to comment.
Added function_usable() to common functions
It is now used to check whether dangerous functions like eval() and exec() are available. It appears that the Suhosin extension (which is becoming popular) terminates script execution instead of returning e.g. FALSE when it has a function blacklisted. function_exists() checks are insufficient and our only option is to check the ini settings here. Filed an issue here: stefanesser/suhosin#18 ... hopefully we'll be able to deal with this in a more elegant way in the future. (this commit supersedes PR #1809)
- Loading branch information...
Showing with 87 additions and 12 deletions.