Title: create_function() deprecated in PHP7.2
Last modified: February 13, 2019

---

# create_function() deprecated in PHP7.2

 *  Resolved [Brian Shim](https://wordpress.org/support/users/brianrshim/)
 * (@brianrshim)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/create_function-deprecated-in-php7-2/)
 * Hi,
 * Great plugin, but note that create_function() is deprecated as of PHP 7.2. I’m
   getting this PHP warning in 7.3:
 * Deprecated: Function create_function() is deprecated in *****/wp-content/plugins/
   php-code-widget/execphp.php on line 62
 * Can you update?
 * Thanks,
    Brian

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Sharaz Shahid](https://wordpress.org/support/users/sharaz/)
 * (@sharaz)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/create_function-deprecated-in-php7-2/#post-11491133)
 * Hi [@brianrshim](https://wordpress.org/support/users/brianrshim/),
 *  Apologize for the inconvenient. Thanks for highlight the issue we will fix it
   in next release.
 *  Thread Starter [Brian Shim](https://wordpress.org/support/users/brianrshim/)
 * (@brianrshim)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/create_function-deprecated-in-php7-2/#post-11491456)
 * Thanks Sharaz!!!
 *  [Cyndi](https://wordpress.org/support/users/cynderella/)
 * (@cynderella)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/create_function-deprecated-in-php7-2/#post-11501670)
 * Thanks Sharaz!!!
 *  Plugin Author [Sharaz Shahid](https://wordpress.org/support/users/sharaz/)
 * (@sharaz)
 * [7 years ago](https://wordpress.org/support/topic/create_function-deprecated-in-php7-2/#post-11578009)
 * Hi [@brianrshim](https://wordpress.org/support/users/brianrshim/),
 *  I’m just testing with PHP 7.3 it work perfectly and notice this issue raise 
   by other plugin php-code-widget.
 * Deprecated: Function create_function() is deprecated in *****/wp-content/plugins/
   php-code-widget/execphp.php on line 62.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘create_function() deprecated in PHP7.2’ is closed to new replies.

 * ![](https://ps.w.org/code-widget/assets/icon.svg?rev=1846289)
 * [Code Widget](https://wordpress.org/plugins/code-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/code-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-widget/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Sharaz Shahid](https://wordpress.org/support/users/sharaz/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/create_function-deprecated-in-php7-2/#post-11578009)
 * Status: resolved