Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xdiff_string_bdiff_size(3) [php man page]

XDIFF_STRING_BDIFF_SIZE(3)						 1						XDIFF_STRING_BDIFF_SIZE(3)

xdiff_string_bdiff_size - Read a size of file created by applying a binary diff

SYNOPSIS
int xdiff_string_bdiff_size (string $patch) DESCRIPTION
Returns a size of a result file that would be created after applying binary $patch to the original file. PARAMETERS
o $patch - The binary patch created by xdiff_string_bdiff(3) or xdiff_string_rabdiff(3) function. RETURN VALUES
Returns the size of file that would be created. EXAMPLES
Example #1 xdiff_string_bdiff_size(3) example The following code applies reads a size of file that would be created after applying a binary diff. <?php $binary_patch = file_get_contents('file.bdiff'); $length = xdiff_string_bdiff_size($binary_patch); echo "Resulting file will be $length bytes long"; ?> SEE ALSO
xdiff_string_bdiff(3), xdiff_string_rabdiff(3), xdiff_string_bpatch(3). PHP Documentation Group XDIFF_STRING_BDIFF_SIZE(3)

Check Out this Related Man Page

XDIFF_FILE_BDIFF_SIZE(3)						 1						  XDIFF_FILE_BDIFF_SIZE(3)

xdiff_file_bdiff_size - Read a size of file created by applying a binary diff

SYNOPSIS
int xdiff_file_bdiff_size (string $file) DESCRIPTION
Returns a size of a result file that would be created after applying binary patch from file $file to the original file. PARAMETERS
o $file - The path to the binary patch created by xdiff_string_bdiff(3) or xdiff_string_rabdiff(3) function. RETURN VALUES
Returns the size of file that would be created. EXAMPLES
Example #1 xdiff_file_bdiff_size(3) example The following code applies reads a size of file that would be created after applying a binary diff. <?php $length = xdiff_string_bdiff_size('file.bdiff'); echo "Resulting file will be $length bytes long"; ?> SEE ALSO
xdiff_file_bdiff(3), xdiff_file_rabdiff(3), xdiff_file_bpatch(3). PHP Documentation Group XDIFF_FILE_BDIFF_SIZE(3)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

instead of psftp?

psftp binary size is about to 300K and I need a smaller one. anyone suggests any idea? (4 Replies)
Discussion started by: zoque
4 Replies

2. Solaris

Merge question

I'm applying patch 108993-65 and during the run it states" NOTICE: The following file is being changed by this patch: /etc/pam.conf A copy of the previous version has been saved under the name: /etc/pam.conf.pre108993-65 You must merge... (1 Reply)
Discussion started by: shorty
1 Replies

3. AIX

Daylight Saving Time patch test

On AIX 5.1, after applying a DST patch or workaround, is there a way to test that the DST changes have taken effect? (1 Reply)
Discussion started by: dangral
1 Replies

4. Solaris

What kind of steps should be followed while applying patch in real time?

Hi, As in the solaris material i know that the patch is added through the command "patchadd <patch no.>". But i need to know, what are all the steps we have to follow while applying a patch in a production server. My friend says that we have to detach mirror before applying patch and not... (6 Replies)
Discussion started by: Sesha
6 Replies

5. AIX

applying patches in aix 5.3

Hi Admins, Basically i am HPUX guy.HP will release patch bundles every three months and the same we are applying on servers as proactive steps. Please let me know how it happens with AIX. My servers are AIX 5.3 with TL 10 and some are TL 7. These servers are installed 2 years back and... (1 Reply)
Discussion started by: newaix
1 Replies

6. UNIX for Dummies Questions & Answers

Typical steps to be followed while applying an application patch upgrade on linux

what are the typical steps used by system adminstrators while applying an application patch upgrade (1 Reply)
Discussion started by: ramky79
1 Replies

7. UNIX for Advanced & Expert Users

Install package PHP Vulnerability: CVE-2015-4601

Hi, Anyone can help on applying patch "PHP Vulnerability: CVE-2015-4601" on Centos 6.8 platform. How can I install this patch in command line using "yum" or "rpm"? Do I need to download or there is a direct command. Thanks in advance. Ragards, FSPalero (4 Replies)
Discussion started by: fspalero
4 Replies