Код: Выделить всё
$filesort = create_function('$a,$b', "\$a1=\$a$sortby;
\$b1=\$b$sortby;
if (\$a1==\$b1)
return 0;
else return (\$a1
Подробнее здесь: [url]https://stackoverflow.com/questions/79390851/how-can-i-rewrite-a-function-where-i-used-create-function-to-something-like[/url]
Мобильная версия