📅  最后修改于: 2022-03-11 14:54:11.556000             🧑  作者: Mango
//change create_function to anonymous like so:
//change:
$square = create_function('$x', 'return pow($x,2);');
//to:
$square = function($x){
return pow($x,2);
};