Title: PHP eval used in W3 Total Cache plugin
Last modified: August 30, 2016

---

# PHP eval used in W3 Total Cache plugin

 *  [phil1984](https://wordpress.org/support/users/phil1984/)
 * (@phil1984)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-eval-used-in-w3-total-cache-plugin/)
 * I’m reposting this because I feel that this is a very real problem which is being
   subtly avoided by the plugin developer.
 * There are other related posts [here](https://wordpress.org/support/topic/did-scan-and-saying-eval-functions-in-w3-total-cache-php-plugin-code)
   and
    [here](https://wordpress.org/support/topic/plugin-security-check-on-w3-total-cache)
 * I am concerned at the use of “eval” in your plugin code. I have taken a look 
   and it all cases it looks to be down to laziness or perhaps lack of knowledge
   of a better solution. There are countless security articles online about the 
   bad points of php eval and there are always better solutions. There really is
   no reason to be using eval and on such a widely used plugin it is a massive undermining
   of security for the large userbase who have installed this plugin.
 * Can you justify your use of it?
 * Thanks
 * Phil
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

Viewing 1 replies (of 1 total)

 *  [Kimberly](https://wordpress.org/support/users/kellogg9/)
 * (@kellogg9)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-eval-used-in-w3-total-cache-plugin/#post-6615395)
 * I applaud you sir for again bringing this up.

Viewing 1 replies (of 1 total)

The topic ‘PHP eval used in W3 Total Cache plugin’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kimberly](https://wordpress.org/support/users/kellogg9/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/php-eval-used-in-w3-total-cache-plugin/#post-6615395)
 * Status: not resolved