title: How to disable eval function without going to php.ini file?
body: <p>Is there a way to disable <strong>eval</strong> function without doing so from php.ini file.
  I have tried <strong>ini_set</strong> function but even that doesn't work.</p>
  
  <p>Basically I want my framework users to decide whether this function should be enabled or not through a config file. If they say no, i should be able to disable it using code as i can't go to server of each users where my framework is installed and disabling it using php.ini file.</p>
  
  <p>As i said without goint to php.ini file, so ini directive <strong>disable_functions</strong> should not be posted in answers.</p>
  
  <p>Please help.</p>