Answers for "PHP7.1 create_function() is deprecated"

PHP
3

PHP Deprecated: Function create_function()

//From
create_function( '$caps', "return '$caps';" );

//To
function($caps) {return $caps;}
Posted by: Guest on March-13-2020

Code answers related to "PHP7.1 create_function() is deprecated"

Browse Popular Code Answers by Language