Function __global->_diff_simple

Definitions

sources/diff.php

  • Create a diff between two arrays of string-lines.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$old array required parameter N/A N/A First array
$new array required parameter N/A N/A Second array
$unified boolean required parameter N/A N/A Whether to show a unified diff
$include_unchanged boolean True N/A N/A Whether to include unchanged lines and trailing whitespace

Return

  • Diff
  • Type: string
  • Set: N/A
  • Range: N/A