Title: php scan warning
Last modified: September 24, 2018

---

# php scan warning

 *  Resolved [RakeshTailor](https://wordpress.org/support/users/rakeshtailor/)
 * (@rakeshtailor)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-scan-warning/)
 * Just found a warning on a PHP compatibility scan:
    FOUND 0 ERRORS AND 1 WARNING
   AFFECTING 1 LINE ————————————————————————————————– 541 | WARNING | Function each()
   is deprecated since PHP 7.2; Use a foreach loop instead ————————————————————————————————–

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Justin McElhaney](https://wordpress.org/support/users/jmcelhaney/)
 * (@jmcelhaney)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-scan-warning/#post-10719018)
 * It is possible that this scan is catching the code located in the deprecated 
   folder. The code in the deprecated folder is from the 2.9.x codebase and is included
   for conversion purposes, but is not used in the 3 codebase.
    You can ignore any
   warnings that come from files located in /ninja-forms/deprecated/

Viewing 1 replies (of 1 total)

The topic ‘php scan warning’ is closed to new replies.

 * ![](https://ps.w.org/ninja-forms/assets/icon-256x256.png?rev=1649747)
 * [Ninja Forms - The Contact Form Builder That Grows With You](https://wordpress.org/plugins/ninja-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninja-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninja-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/ninja-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninja-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninja-forms/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Justin McElhaney](https://wordpress.org/support/users/jmcelhaney/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/php-scan-warning/#post-10719018)
 * Status: resolved