function.diff.php
Tags
Table of Contents
- jtpl_function_html_diff() : mixed
- function plugin : show a diff between two string
Functions
jtpl_function_html_diff()
function plugin : show a diff between two string
jtpl_function_html_diff(jTpl $tpl, string $str1, string $str2[, array<string|int, mixed> $options = array() ]) : mixed
Parameters
- $tpl : jTpl
-
template engine
- $str1 : string
-
the first string
- $str2 : string
-
the second string
- $options : array<string|int, mixed> = array()
-
contains : 'nodiffmsg' message when no diff found ; 'version1' ; 'version2' to be compared ; 'type' of display