Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
DiffMatchPatch
DiffMatchPatch
patch_fromText
DiffMatchPatch\DiffMatchPatch::patch_fromText PHP Method
DiffMatchPatch Class Documentation
Show file
Open project: yetanotherape/diff-match-patch
patch_fromText()
public
method
Parse a textual representation of patches and return a list of patch objects.
public
patch_fromText
(
string
$text
) :
PatchObject[]
$text
string
Text representation of patches.
return
PatchObject[]
Array of PatchObjects.
public function patch_fromText($text) { return $this->patch->fromText($text); }
DiffMatchPatch
__construct
__get
__set
diff_cleanupEfficiency
diff_cleanupSemantic
diff_levenshtein
diff_main
diff_prettyHtml
match_main
patch_apply
patch_fromText
patch_make
patch_toText