Answers for "deprecated create_function"

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 "deprecated create_function"

Browse Popular Code Answers by Language