<?php filesize(string $filename): int|false
<?php function filesize(...$arguments) { if ( ! is_mocked('filesize')) { return \filesize(...$arguments); } return return_mocked_value('filesize');
<?php $location = $this->prefixer->prefixPath($path); error_clear_last(); if (is_file($location) && ($fileSize = @filesize($location)) !== false) { return new FileAttributes($path, $fileSize); }