PHP Depreced: función create_function ()
//From
create_function( '$caps', "return '$caps';" );
//To
function($caps) {return $caps;}
mattia896
//From
create_function( '$caps', "return '$caps';" );
//To
function($caps) {return $caps;}
//change create_function to anonymous like so:
//change:
$square = create_function('$x', 'return pow($x,2);');
//to:
$square = function($x){
return pow($x,2);
};