What PHP function can be used to determine the size of a file in bytes?

To determine the size of a file in bytes in PHP, you can use the `filesize()` function. This function takes a file path as its argument and returns the size of the file in bytes. You can use this function to retrieve the size of a file and perform any necessary operations based on the file size.

$file_path = 'path/to/your/file.txt';
$file_size = filesize($file_path);

echo "The size of the file is: " . $file_size . " bytes";