note 126404 deleted from function.file-get-contents by cmb

From: Date: Thu, 09 Sep 2021 10:06:41 +0000
Subject: note 126404 deleted from function.file-get-contents by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-216936@lists.php.net to get a copy of this message
Note Submitter: 453034559 at qq dot com ---- //从指定大小获取指定长度的文件内容 function file_start_length($path,$start=0,$length=null){ if(!file_exists($path)) return false; $size=filesize($path); if($start<0) $start+=$size; if($length===null) $length=$size-$start; return file_get_contents($path, false, null, $start, $length ); }

« previous php.notes (#216936) next »