• PHP Video Tutorials

PHP - xdiff string_merge3() Function



xdiff_string_merge3() function can merge three strings into one.

Syntax

mixed xdiff_string_merge3( string $old_data , string $new_data1 , string $new_data2 [, string &$error ] )

xdiff_string_merge3() function can merge three strings into one and return a result. The old_data is an original version of data, while new_data1 and new_data2 are modified versions of an original. An optional error can be used to pass any rejected parts during a merging process.

xdiff_string_merge3() function can return the merged string, false if an internal error has occurred or true if the merged string is empty.

php_function_reference.htm
Advertisements