略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: xdiff_string_patch_binary

2024-12-21

xdiff_string_patch_binary

(PECL xdiff >= 0.2.0)

xdiff_string_patch_binaryAlias of xdiff_string_bpatch

说明

xdiff_string_patch_binary(string $str, string $patch): string

Patches a string str with a binary patch. This function accepts patches created both via xdiff_string_bdiff() and xdiff_string_rabdiff() functions or their file counterparts.

Starting with version 1.5.0 this function is an alias of xdiff_string_bpatch().

参数

str

The original binary string.

patch

The binary patch string.

返回值

Returns the patched string, or false on error.

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.xdiff-string-patch-binary.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3