PHP - xdiff file_bdiff_size() Function
xdiff_file_bdiff_size() function can read the size of a file created by applying a binary diff.
Syntax
int xdiff_file_bdiff_size( string $file )
xdiff_file_bdiff_size() function can return the size of a result file that can be created after applying a binary patch from the file "file" to an original file.
xdiff_file_bdiff_size() function can return the size of file that could be created.
Example
<?php
$length = xdiff_string_bdiff_size("file.bdiff");
echo "The resulting file will be $length bytes long";
?>
php_function_reference.htm
Advertisements