Title: Function create_function() is deprecated since PHP 7.2
Last modified: October 23, 2019

---

# Function create_function() is deprecated since PHP 7.2

 *  [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-since-php-7-2-3/)
 * FILE: /wordpress/wp-content/plugins/wp-edit/includes/functions.php
 * 772 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an
   anonymous function instead
 * Nothing broken, but should be looked into.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffunction-create_function-is-deprecated-since-php-7-2-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Function create_function() is deprecated since PHP 7.2’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-edit_ffffff.svg)
 * [WP Edit](https://wordpress.org/plugins/wp-edit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-edit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-edit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-edit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-edit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-edit/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 0 replies
 * 1 participant
 * Last reply from: [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-since-php-7-2-3/)
 * Status: not a support question