php 获取远程文件大小

$file = file_get_contents('https://xxx.apk'); // 运行一次太费时间了
$size = strlen($file);
原文地址:https://www.cnblogs.com/jiqing9006/p/15305194.html